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
)
Public Function RasterizeSeparations (
page As Page,
width As UInteger,
height As UInteger,
device_mtx As Matrix2D,
clip As Rect,
cancel As Boolean
) As Separation()
public:
virtual array<Separation^>^ RasterizeSeparations(
[InAttribute] Page^ page,
[InAttribute] unsigned int width,
[InAttribute] unsigned int height,
[InAttribute] Matrix2D^ device_mtx,
[InAttribute] Rect^ clip,
[InAttribute] bool cancel
) sealed
function RasterizeSeparations(page, width, height, device_mtx, clip, 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:
SeparationThe output memory buffer.
See Also