[]
Display the page designated by page, with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of its bounding box within the window. A null value for top specifies that the current value of that parameter is to be retained unchanged.
public class DestinationFitBH : Destination, IPdfArray, IDestination
Initializes a new instance of the DestinationFitBH class.
public DestinationFitBH(Page page, float? top)
page
PageThe target page.
top
float?The top coordinate of the document window.
Initializes a new instance of the DestinationFitBH 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 DestinationFitBH(int pageIndex, float? pdfTop)
pageIndex
intThe target page index.
pdfTop
float?The top coordinate of the document window relative to page bottom.
Gets the top coordinate of the document window relative to the bottom left corner, if null then unchanged.
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; }