IXpsRasterizer interface

The IXpsRasterizer interface represents an XPS rasterizer that can create a bitmap image of an XPS fixed page or of a rectangular region of a fixed page.

A client obtains an IXpsRasterizer interface instance by calling the IXpsRasterizationFactory::CreateRasterizer method.

Members

The IXpsRasterizer interface inherits from the IUnknown interface. IXpsRasterizer also has these types of members:

Methods

The IXpsRasterizer interface has these methods.

MethodDescription
RasterizeRect

The RasterizeRect method rasterizes an axis-aligned, rectangular region of an XPS fixed page.

SetMinimalLineWidth

The SetMinimalLineWidth method allows the caller to set the minimum thickness (in pixels) of the lines that the device can render. The default minimum thickness value is 1 pixel if SetMinimalLineWidth is not called. This minimum thickness value only applies to the Nominal Width Stroke as defined in the XPS Specification v1.0, Sec 11.6.12. IXpsRasterizer requires that any Nominal Width Stroke is rasterized with either the width specified by its StrokeThickness attribute, or the pixel value set by SetMinimalLineWidth (1 pixel if SetMinimalLineWidth is not called), whichever is bigger.

 

Requirements

Header

Xpsrassvc.h

 

 

Send comments about this topic to Microsoft

Show: