Table of Contents

Method ToRectangle

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

ToRectangle(double)

Maps this PdfBox structure to PdfPage coordinate system.

public readonly PdfRectangle ToRectangle(double pageHeight)

Parameters

pageHeight double

Height of PdfPage that is used to map coordinates.

Returns

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.