com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class ColorType

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.pdf.ColorType


  • public final class ColorType
    extends com.aspose.ms.System.Enum

    Specifies color type of elements on page.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int BlackAndWhite
      Black and white color type.
      static int Grayscale
      Grayscale color type.
      static int Rgb
      RGB color type.
      static int Undefined
      Undefined color type value.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static String getName(int value)
      Returns String name for the enum value.
      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject
    • Method Detail

      • getName

        public static String getName(int value)

        Returns String name for the enum value.


        Example:
        String s = ColorType.getName(ColorType.Grayscale);
        Parameters:
        value - Enum value
        Returns:
        Value's name