Skip to content

PdfViewport.Bounds Property

Gets or sets the viewport bounds.

C#
public PdfStandardRectangle Bounds { get; set; }

Property Value

PdfStandardRectangle

A PdfStandardRectangle that defines the viewport area.

Remarks

The lower left and upper right corners of the rectangle determine the orientation of the measuring coordinate system (that is, the direction of the positive x and yaxes) in this viewport, which may have a different rotation from the page.
The viewport bounds are defined in the same coordinate system like the page media box and crop box.