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.AnywhereAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic byte[] ConvertPageToImage(
string pdfFilePath,
int pageNumber
)
Public Function ConvertPageToImage (
pdfFilePath As String,
pageNumber As Integer
) As Byte()
Parameters
- pdfFilePath String
- The PDF file.
- pageNumber Int32
- The number of the page to convert (starting with 1).
Return Value
ByteThe image of the page, encoded in the format given by the ImagesFormat property.
RemarksThe StartPageNumber and EndPageNumber properties are not used and not changed.
See Also