[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.DestinationFitR.-ctor

DestinationFitR Constructor

DestinationFitR(int, RectangleF)

Initializes a new instance of the DestinationFitR 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 DestinationFitR(int pageIndex, RectangleF pdfBounds)
Public Sub New(pageIndex As Integer, pdfBounds As RectangleF)
Parameters
Type Name Description
int pageIndex

The target page index.

RectangleF pdfBounds

The rectangle to fit relative to the bottom left corner.

DestinationFitR(Page, RectangleF)

Initializes a new instance of the DestinationFitR 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 DestinationFitR(Page page, RectangleF bounds)
Public Sub New(page As Page, bounds As RectangleF)
Parameters
Type Name Description
Page page

The target page.

RectangleF bounds

The rectangle to fit (relative to the top left corner).