Click or drag to resize

PdfToImageConverterConvertPageToImage(String, Int32) Method

Converts one page of the specified PDF file to an image, at the resolution given by the Resolution property.

Namespace: ExpertPdf.Anywhere
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public byte[] ConvertPageToImage(
	string pdfFilePath,
	int pageNumber
)

Parameters

pdfFilePath  String
The PDF file.
pageNumber  Int32
The number of the page to convert (starting with 1).

Return Value

Byte
The image of the page, encoded in the format given by the ImagesFormat property.
Remarks
The StartPageNumber and EndPageNumber properties are not used and not changed.
See Also