XPS_COLOR_TYPE enumeration (xpsobjectmodel.h)

Describes the color type used by the XPS_COLOR structure.

Syntax

typedef enum __MIDL___MIDL_itf_xpsobjectmodel_0000_0000_0009 {
  XPS_COLOR_TYPE_SRGB = 1,
  XPS_COLOR_TYPE_SCRGB,
  XPS_COLOR_TYPE_CONTEXT
} XPS_COLOR_TYPE;

Constants

 
XPS_COLOR_TYPE_SRGB
Value: 1
The color value is an sRGB value.
XPS_COLOR_TYPE_SCRGB
The color value is an scRGB value.
XPS_COLOR_TYPE_CONTEXT
The color value is specified using context color syntax.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]
Header xpsobjectmodel.h

See also

XML Paper Specification