Click or drag to resize
RadPdfViewerExportPage Method (Int32, Double, Boolean, ImageFormat)
Export a single Pdf Page to a Bitmap

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.PdfViewer (in Telerik.WinControls.PdfViewer.dll) Version: 2018.2.619.40 (2018.2.619.40)
Syntax
public Bitmap ExportPage(
	int pageNumber,
	double aspectRatio,
	bool overrideFileIfAlreadyExist,
	ImageFormat imageFormat
)

Parameters

pageNumber
Type: SystemInt32
Number of the page to export. Firts page have a number 1. 0 means export of the current page.
aspectRatio
Type: SystemDouble
Scale factor. 1 mean original size.
overrideFileIfAlreadyExist
Type: SystemBoolean
override image file if they exists
imageFormat
Type: System.Drawing.ImagingImageFormat
Specify an image format when saving the image

Return Value

Type: Bitmap
returns a Bitmap. This bitmap should be disposed manually.
See Also