Link Search Menu Expand Document

IRasterRendererGetImage Method (Int32, Int32, Int32)

Renders PDF document page to Image object.

Namespace:Bytescout.PDFRenderer
Assembly: Bytescout.PDFRenderer (in Bytescout.PDFRenderer.dll) Version: 13.4.0.4759-master
Syntax
Image GetImage(
	int pageIndex,
	int width,
	int height
)

Parameters

pageIndex
Type: SystemInt32
Page index.
width
Type: SystemInt32
Width of the output image in pixels. Use -1 to calculate the width from height keeping the aspect ratio.
height
Type: SystemInt32
Height of the output image in pixels. Use -1 to calculate the height from width keeping the aspect ratio.

Return Value

Type: Image
Image object.
See Also

Reference