PDFViewport¶
Namespace: O2S.Components.PDF4NET.Spatial
Defines a rectangular region of a page that supports a different measurement scale.
Inheritance Object → PDFViewport
Constructors¶
PDFViewport()¶
Initializes a new PDFViewport object.
Properties¶
Bounds¶
Gets or sets the viewport bounds.
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.
Measure¶
Gets or sets the viewport measure.
Property Value
PDFMeasure
The viewport measure.
Remarks
The measure specifies the alternative coordinate system for the viewport. It provides the information needed to convert coordinates in the page's coordinate system to coordinates in the measuring coordinate system.
Name¶
Gets or sets the viewport name.
Property Value
String
The name of the viewport to be displayed in the user interface.
PointData¶
Gets or sets the point data.
Property Value
PDFPointData
The point data that specifies extended geospatial data.