PdfFocusGetPageSize Method |
Returns the page height and width in points for a specific page
Namespace: SautinSoftAssembly: SautinSoft.PdfFocus (in SautinSoft.PdfFocus.dll) Version: 2024.8.6
Syntax public SKSize GetPageSize(
int pageNumber
)
Public Function GetPageSize (
pageNumber As Integer
) As SKSize
Parameters
- pageNumber Int32
- A specific page number in the PDF document
Return Value
SKSize
Returns the structure
SKSize 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