[]
Display the page designated by page, with the coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom. A null value for any of the parameters left, top, or zoom specifies that the current value of that parameter is to be retained unchanged. A zoom value of 0 has the same meaning as a null value.
public class DestinationXYZ : Destination, IPdfArray, IDestination
Initializes a new instance of the DestinationXYZ class.
public DestinationXYZ(Page page, float? left, float? top, float? zoom)
page
PageThe target page.
left
float?The left coordinate of the document window.
top
float?The top coordinate of the document window.
zoom
float?The zoom factor of the document window.
Initializes a new instance of the DestinationXYZ class.
public DestinationXYZ(Page page, float? left, float? top)
page
PageThe target page.
left
float?The left coordinate of the document window.
top
float?The top coordinate of the document window.
Initializes a new instance of the DestinationXYZ class.
public DestinationXYZ(Page page, float? top)
page
PageThe target page.
top
float?The top coordinate of the document window.
Initializes a new instance of the DestinationXYZ class.
public DestinationXYZ(Page page)
page
PageThe target page.
Initializes a new instance of the DestinationXYZ class.
Note that if a destination is created using this constructor then all Y coordinates should be specified relative to the bottom of the page, see Destination description for details.
public DestinationXYZ(int pageIndex, float? left, float? pdfTop, float? zoom)
pageIndex
intThe target page index.
left
float?The left coordinate of the document window.
pdfTop
float?The top coordinate of the document window relative to the bottom of the page.
zoom
float?The zoom factor of the document window.
Initializes a new instance of the DestinationXYZ class.
Note that if a destination is created using this constructor then all Y coordinates should be specified relative to the bottom of the page, see Destination description for details.
public DestinationXYZ(int pageIndex, float? left, float? pdfTop)
pageIndex
intThe target page index.
left
float?The left coordinate of the document window.
pdfTop
float?The top coordinate of the document window relative to the bottom of the page.
Initializes a new instance of the DestinationXYZ class.
Note that if a destination is created using this constructor then all Y coordinates should be specified relative to the bottom of the page, see Destination description for details.
public DestinationXYZ(int pageIndex, float? pdfTop)
pageIndex
intThe target page index.
pdfTop
float?The top coordinate of the document window relative to the bottom of the page.
Initializes a new instance of the DestinationXYZ class.
Note that if a destination is created using this constructor then all Y coordinates should be specified relative to the bottom of the page, see Destination description for details.
public DestinationXYZ(int pageIndex)
pageIndex
intThe target page index.
Gets the left coordinate of the document window, if null then unchanged.
public float? Left { get; }
Gets the top coordinate of the document window relative to the bottom left corner, unchanged if null.
public float? PdfTop { get; }
Gets the top coordinate of the document window, if null then unchanged.
If the target page of this destination was specified as an index (see PageIndex), then this property returns the Y coordinate relative to the page bottom. If the target page was specified as a page object (see Page), then this property returns the Y coordinate relative to the page top. See Destination description for details.
public float? Top { get; }
Gets the zoom factor of the document window, unchanged if null or zero.
public float? Zoom { get; }