[]
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.
public DestinationFitH(int pageIndex, float? pdfTop = null)
Public Sub New(pageIndex As Integer, Optional pdfTop As Single? = Nothing)
Type | Name | Description |
---|---|---|
int | pageIndex | The target page index. |
float? | pdfTop | The top coordinate of the document window relative to page bottom. |
Initializes a new instance of the DestinationFitH class.
public DestinationFitH(Page page, float? top = null)
Public Sub New(page As Page, Optional top As Single? = Nothing)
Type | Name | Description |
---|---|---|
Page | page | The target page. |
float? | top | The top coordinate of the document window. |