XPSRAS_PIXEL_FORMAT enumeration

XPSRAS_PIXEL_FORMAT allows a caller to select the pixel format used by the IWICBitmap interface that is returned by the IXpsRasterizer::RasterizeRect method. XPSRAS_PIXEL_FORMAT is provided with Windows 8 and later versions of Windows.

Syntax


typedef enum _XPSRAS_PIXEL_FORMAT { 
  XPSRAS_PIXEL_FORMAT_32BPP_PBGRA_UINT_SRGB     = 1,
  XPSRAS_PIXEL_FORMAT_64BPP_PRGBA_HALF_SCRGB,
  XPSRAS_PIXEL_FORMAT_128BPP_PRGBA_FLOAT_SCRGB
} XPSRAS_PIXEL_FORMAT;

Constants

XPSRAS_PIXEL_FORMAT_32BPP_PBGRA_UINT_SRGB

32-bit color pixel format. It is the default pixel format.

XPSRAS_PIXEL_FORMAT_64BPP_PRGBA_HALF_SCRGB

64-bit color pixel format.

XPSRAS_PIXEL_FORMAT_128BPP_PRGBA_FLOAT_SCRGB

128-bit color pixel format.

Remarks

For more information about rasterizing XPS documents, see Using the XPS Rasterization Service.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Xpsrassvc.h (include Xpsrassvc.h)

See also

IWICBitmap
IXpsRasterizationFactory1::CreateRasterizer1
Using the XPS Rasterization Service

 

 

Send comments about this topic to Microsoft

Show: