Link Search Menu Expand Document

VectorRendererGetMetafile Method (Int32, Int32, Int32, RenderingOptions)

Renders document page to Metafile.

Namespace:Bytescout.PDFRenderer
Assembly: Bytescout.PDFRenderer (in Bytescout.PDFRenderer.dll) Version: 13.4.0.4759-master
Syntax
public Metafile GetMetafile(
	int pageIndex,
	int width,
	int height,
	RenderingOptions renderingOptions
)

Parameters

pageIndex
Type: SystemInt32
Index of the page.
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.
renderingOptions
Type: Bytescout.PDFRendererRenderingOptions
Additional conversion options.

Return Value

Type: Metafile
Metafile object.

Implements

IVectorRendererGetMetafile(Int32, Int32, Int32, RenderingOptions)
Remarks
Pixel dimensions of the image will be calculated from PDF document Points (1/72") using the rendering resolution value.
See Also

Reference