[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.DestinationFitBH

Class DestinationFitBH

Namespace
GrapeCity.Documents.Pdf
Assembly
GcDocs.Pdf.dll

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
Inheritance
object
DestinationFitBH
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Extension Methods

Constructors

DestinationFitBH(Page, float?)

Initializes a new instance of the DestinationFitBH class.

public DestinationFitBH(Page page, float? top)

Parameters

page Page

The target page.

top float?

The top coordinate of the document window.

DestinationFitBH(int, float?)

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)

Parameters

pageIndex int

The target page index.

pdfTop float?

The top coordinate of the document window relative to page bottom.

Properties

PdfTop

Gets the top coordinate of the document window relative to the bottom left corner, if null then unchanged.

public float? PdfTop { get; }

Property Value

float?

Top

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; }

Property Value

float?