Returns the page height and width in points for a specific page

Namespace:  SautinSoft
Assembly:  SautinSoft.PdfFocus (in SautinSoft.PdfFocus.dll) Version: 6.6.9.7 (6.6.9.7)

Syntax

      
 C#  Visual Basic 
public SizeF GetPageSize(
	int pageNumber
)
Public Function GetPageSize ( _
	pageNumber As Integer _
) As SizeF

Parameters

pageNumber
Int32
A specific page number in the PDF document

Return Value

Returns the structure SizeF with Width and Height properties.

Remarks

Point is the 1/72 of inch.
Let us say, you have a "Letter" page size 8,5 x 11 inches, you will get this size in points:

Width: 8,5 * 72 = 612 points.
Height: 11 * 72 = 792 points.

See Also