Click or drag to resize

PDFRasterizerRasterizeSeparations Method

Draws the page into a given memory buffer (Separation)

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public Separation[] RasterizeSeparations(
	Page page,
	uint width,
	uint height,
	Matrix2D device_mtx,
	Rect clip,
	bool cancel
)

Parameters

page
Type: pdftron.PDFPage
The page to rasterize.
width
Type: SystemUInt32
The width of the target image in pixels.
height
Type: SystemUInt32
The height of the target image in pixels (the number of rows).
device_mtx
Type: pdftron.CommonMatrix2D
Device transformation matrix that maps PDF page from PDF user space into device coordinate space (e.g. pixel space). PDF user space is represented in page units, where one unit corresponds to 1/72 of an inch.
clip
Type: pdftron.PDFRect
Optional parameter defining the clip region for the page. If the parameter is null or is not specified, PDFRasterizer uses page's crop box as a default clip region.
cancel
Type: SystemBoolean
An optional variable that can be used to stop the rendering thread.

Return Value

Type: Separation
The output memory buffer.
See Also