com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Enum PlatformId

    • Enum Constant Detail

      • Unicode

        public static final PlatformId Unicode

        Value 0 Unicode

      • Macintosh

        public static final PlatformId Macintosh

        Value 1 Macintosh Script Manager code.

      • ISO

        public static final PlatformId ISO

        Value2 Apple spec: (reserved; do not use) MS spec: ISO encoding. Note that platform ID 2 (ISO) has been deprecated as of OpenType Specification v1.3. It was intended to represent ISO/IEC 10646, as opposed to Unicode; both standards have identical character code assignments

      • Microsoft

        public static final PlatformId Microsoft

        Value 3 Microsoft encoding.

    • Method Detail

      • values

        public static PlatformId[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PlatformId c : PlatformId.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PlatformId valueOf(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null