Partager via


XPS_COLOR_TYPE_SRGB structure

The contents of the XPS_COLOR structure when the colorType is XPS_COLOR_TYPE_SRGB.

Syntax

typedef struct {
  UINT8 alpha;
  UINT8 red;
  UINT8 green;
  UINT8 blue;
} XPS_COLOR;

Members

  • alpha
    The 8-bit value of the alpha (transparency) channel.

  • red
    The 8-bit value of the red color channel.

  • green
    The 8-bit value of the green color channel.

  • blue
    The 8-bit value of the blue color channel.

Remarks

For information about how to interpret or apply the values of 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

See also

XML Paper Specification