Skip to content

Latest commit

 

History

History
92 lines (66 loc) · 3.53 KB

nf-xpsrassvc-ixpsrasterizationfactory1-createrasterizer.md

File metadata and controls

92 lines (66 loc) · 3.53 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames ms.custom f1_keywords topic_type api_type api_location api_name
NF:xpsrassvc.IXpsRasterizationFactory1.CreateRasterizer
IXpsRasterizationFactory1::CreateRasterizer (xpsrassvc.h)
The CreateRasterize method creates an XPS rasterizer object that can handle high precision colors.
print\xpsrasterizationfactory1_createrasterizer1.htm
print
08/21/2020
IXpsRasterizationFactory1::CreateRasterizer
CreateRasterizer, CreateRasterizer method [Print Devices], CreateRasterizer method [Print Devices],IXPSRasterizationFactory1 interface, IXPSRasterizationFactory1 interface [Print Devices],CreateRasterizer method, IXPSRasterizationFactory1::CreateRasterizer, IXpsRasterizationFactory1.CreateRasterizer, IXpsRasterizationFactory1::CreateRasterizer, print.xpsrasterizationfactory1_createrasterizer1, xpsrassvc/IXPSRasterizationFactory1::CreateRasterizer
xpsrassvc.h
Xpsrassvc.h
Windows
Windows
RS5
IXpsRasterizationFactory1::CreateRasterizer
xpsrassvc/IXpsRasterizationFactory1::CreateRasterizer
APIRef
kbSyntax
COM
xpsrassvc.h
IXpsRasterizationFactory1::CreateRasterizer

IXpsRasterizationFactory1::CreateRasterizer

-description

The CreateRasterize method creates an XPS rasterizer object that can handle high precision colors.

-parameters

-param xpsPage [in, optional]

Pointer to an IXpsOMPage object that represents the XPS fixed page to render. This object encapsulates a FixedPage section from an XPS document. For more information, see IXpsOMPage.

-param DPI [in]

Dots per inch in the rasterized output. This parameter applies to both the x and y dimensions of the output bitmap. The DPI value is the resolution of the device that is to print or display the XPS fixed page.

-param nonTextRenderingMode [in]

Rendering mode for nontext items in the rasterized output. This parameter indicates whether to generate antialiased output. Set this parameter to one of the following XPSRAS_RENDERING_MODE enumeration values:

  • XPSRAS_RENDERING_MODE_ANTIALIASED

  • XPSRAS_RENDERING_MODE_ALIASED

-param textRenderingMode [in]

Rendering mode for text in the rasterized output. This parameter indicates whether to generate antialiased output. Set this parameter to one of the following XPSRAS_RENDERING_MODE enumeration values:

  • XPSRAS_RENDERING_MODE_ANTIALIASED

  • XPSRAS_RENDERING_MODE_ALIASED

-param pixelFormat

The pixelFormat parameter.

-param ppIXPSRasterizer [out, optional]

This parameter points to a location into which the method writes a pointer to the IXpsRasterizer interface of the newly created XPS rasterizer object. If the method fails, it writes NULL to this location and returns an error code.

-returns

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-see-also

IXPSRasterizationFactory1