ColorType Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:ColorType Enumeration}}
 
{{#customTitle:ColorType Enumeration}}
{{#parentPage:PXV:Common_Enumerations|ColorType Enumeration|enum}}
+
{{#parentPage:PXV:Common_Enumerations|ColorType|enum}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
Specifies the ...
+
Specifies the type of the color that is being stored in the [[PXV:IColor|IColor]]. Values less then ''0'' are used for the inner usage and do not represent any color.
  
 
== Syntax ==
 
== Syntax ==
Line 22: Line 21:
 
== Constants ==
 
== Constants ==
 
;ColorType_Auto
 
;ColorType_Auto
:The ...
+
:The color type is Automatic. Corresponds to the "A" value.
 
;ColorType_Default
 
;ColorType_Default
:The ...
+
:The color type is Default. Corresponds to the "D" value.
 
;ColorType_None
 
;ColorType_None
:The ...
+
:The color type is None. Corresponds to the "N" value.
 
;ColorType_RGB
 
;ColorType_RGB
:The ...
+
:The color type is RGB.
 
;ColorType_CMYK
 
;ColorType_CMYK
:The ...
+
:The color type is CMYK.
 
;ColorType_Gray
 
;ColorType_Gray
:The ...
+
:The color type is the shades of gray.
  
 
== See Also ==
 
== See Also ==
...
+
[[PXV:IAUX_Inst_CreateColor|IAUX_Inst::CreateColor]], [[PXV:IColor_Type|IColor::Type]], [[PXV:IPXC_Color_Value|IPXC_Color::Value]], [[PXV:IUIX_Inst_CreateColor|IUIX_Inst::CreateColor]]

Latest revision as of 03:31, 16 March 2017


Specifies the type of the color that is being stored in the IColor. Values less then 0 are used for the inner usage and do not represent any color.

Syntax

enum ColorType
{
    ColorType_Auto    = -3,
    ColorType_Default = -2,
    ColorType_None    = -1,
    ColorType_RGB     = 0,
    ColorType_CMYK    = 1,
    ColorType_Gray    = 2,
};

Constants

ColorType_Auto
The color type is Automatic. Corresponds to the "A" value.
ColorType_Default
The color type is Default. Corresponds to the "D" value.
ColorType_None
The color type is None. Corresponds to the "N" value.
ColorType_RGB
The color type is RGB.
ColorType_CMYK
The color type is CMYK.
ColorType_Gray
The color type is the shades of gray.

See Also

IAUX_Inst::CreateColor, IColor::Type, IPXC_Color::Value, IUIX_Inst::CreateColor