PdfLinkPageLocation Class

Describes how the target page is positioned and zoomed when a PdfLinkAnnotation created with ToPageLocation(Int32, PdfLinkPageLocation, Int32, Single, Single, Single, Single) is followed. Use one of the static factory methods (FitPage, FitWidth(Single), FitHeight(Single), AtCoordinates(Single, Single, NullableSingle)) to construct an instance

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public class PdfLinkPageLocation
Inheritance
Object    PdfLinkPageLocation

Properties

Fit Fit type applied when the link is followed
Left Distance in points from the LEFT edge of the page to the destination point. Used by PageHeight and AtCoordinates
Top Distance in points from the TOP edge of the page to the destination point. Used by PageWidth and AtCoordinates
Zoom Zoom factor (1.0 = 100%) applied by AtCoordinates. When null, the viewer keeps the user's current zoom level

Methods

AtCoordinates Positions the page so that the given (left, top) point is at the top-left of the viewport, optionally setting an explicit zoom factor
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
FitHeight Fits the page height in the viewport, with the left edge at the specified distance (in points) from the left edge of the page content area defined by PdfDocument.Margins when AddLinkAnnotation is called. The value is treated as page-relative by PdfEditor and PdfMerge
FitPage Fits the entire page in the viewport (PDF /Fit destination). Equivalent to using ToPage(Int32, Int32, Single, Single, Single, Single)
FitWidth Fits the page width in the viewport, with the top edge at the specified distance (in points) from the top edge of the page content area defined by PdfDocument.Margins when AddLinkAnnotation is called. The value is treated as page-relative by PdfEditor and PdfMerge
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also