XPS_COLOR_TYPE_SCRGB structure

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

Syntax

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

Members

  • alpha
    The floating-point value of the alpha (transparency) channel.

  • red
    The floating-point value of the red color channel.

  • green
    The floating-point value of the green color channel.

  • blue
    The floating-point 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