Partager via


XPS_COLOR_TYPE enumeration

Describes the color type used by the XPS_COLOR structure.

Syntax

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

Constants

  • XPS_COLOR_TYPE_SRGB
    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

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

See also

XML Paper Specification