[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.DestinationFitH.-ctor

DestinationFitH Constructor

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.

Declaration
public DestinationFitH(int pageIndex, float? pdfTop = null)
Public Sub New(pageIndex As Integer, Optional pdfTop As Single? = Nothing)
Parameters
Type Name Description
int pageIndex

The target page index.

float? pdfTop

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

DestinationFitH(Page, float?)

Initializes a new instance of the DestinationFitH class.

Declaration
public DestinationFitH(Page page, float? top = null)
Public Sub New(page As Page, Optional top As Single? = Nothing)
Parameters
Type Name Description
Page page

The target page.

float? top

The top coordinate of the document window.