XPS_COLOR_TYPE_CONTEXT structure
The contents of the XPS_COLOR structure when the colorType is XPS_COLOR_TYPE_CONTEXT.
Syntax
typedef struct {
UINT8 channelCount;
FLOAT channels[9];
} XPS_COLOR;
Members
channelCount
The number of color channels, including the alpha channel.channels
An array of floating-point color values for up to nine color channels, including the alpha channel.The first element in the array, channels[0], contains the value for the alpha channel. The remaining elements in the array have context-specific color channel values.
Remarks
For information about how to interpret or apply the values in this structure's members, see the XML Paper Specification.
Requirements
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 |
IDL |
XpsObjectModel.idl |