Click or drag to resize
RadPdfViewerExportPage Method (Int32, String, Double, Boolean, ImageFormat)
Export a single Pdf Page to an image file on the disk

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.PdfViewer (in Telerik.WinControls.PdfViewer.dll) Version: 2018.3.911.40 (2018.3.911.40)
Syntax
public bool ExportPage(
	int pageNumber,
	string fileName,
	double scaleSize,
	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.
fileName
Type: SystemString
Output image file
scaleSize
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: Boolean
returns False if file already exist and overrideFileIfAlreadyExist is false
See Also