PdfPrintGetPdfPageSize Method (String, Int32)Terminal Works - PDF Printing.Net Library
Returns the width and height(in inches) of the page in the PDF file.

Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax

public SizeF GetPdfPageSize(
	string fileName,
	int pageNumber
)

Parameters

fileName
Type: SystemString
PDF file name
pageNumber
Type: SystemInt32
PDF page number

Return Value

Type: SizeF
Width and height (in inches) of selected page, exception in case of error.
See Also

Reference