[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.DestinationFitH

DestinationFitH Class

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 the page within the window. A null value for top specifies that the current value of that parameter is to be retained unchanged.

Implements
Namespace: GrapeCity.Documents.Pdf
Assembly: DS.Documents.Pdf.dll
Syntax
public class DestinationFitH : Destination, IPdfArray, IDestination
Public Class DestinationFitH
    Inherits Destination
    Implements IPdfArray, IDestination

Constructors

Name Description
DestinationFitH(Page, float?)

Initializes a new instance of the DestinationFitH class.

DestinationFitH(int, float?)

Initializes a new instance of the DestinationFitH 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.

Properties

Name Description
PdfTop

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

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.

Extension Methods