XPSRAS_PIXEL_FORMAT enumeration (xpsrassvc.h)

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 __MIDL___MIDL_itf_xpsrassvc_0000_0003_0001 {
  XPSRAS_PIXEL_FORMAT_32BPP_PBGRA_UINT_SRGB,
  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

Requirement Value
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