PdfBox.ToRectangle Method

Maps this PdfBox structure to PdfPage coordinate system.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfRectangle ToRectangle(
	double pageHeight
)
VB
Public Function ToRectangle ( 
	pageHeight As Double
) As PdfRectangle

Parameters

pageHeight
Type: System.Double
Height of PdfPage that is used to map coordinates.

Return Value

Type: PdfRectangle
PdfRectangle structure expressed in PdfPage coordinate system.

Remarks

In PdfPage coordinate system origin is located at the upper-left corner of the page, positive Y axis extends vertically downward.

In default user space the positive Y axis extends vertically upward.

See Also