[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.DestinationFitR

Class DestinationFitR

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

Display the page designated by page, with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and top entirely within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the rectangle within the window in the other dimension.

public class DestinationFitR : Destination, IPdfArray, IDestination
Inheritance
object
DestinationFitR
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

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.

public DestinationFitR(Page page, RectangleF bounds)

Parameters

page Page

The target page.

bounds System.Drawing.RectangleF

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

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.

public DestinationFitR(int pageIndex, RectangleF pdfBounds)

Parameters

pageIndex int

The target page index.

pdfBounds System.Drawing.RectangleF

The rectangle to fit relative to the bottom left corner.

Properties

Bounds

Gets the rectangle to fit.

If the target page of this destination was specified as an index (see PageIndex), then this property returns a rectangle relative to the bottom left corner. If the target page was specified as a page object (see Page), then this property returns a rectangle relative to the top left corner. See Destination description for details.

public RectangleF Bounds { get; }

Property Value

System.Drawing.RectangleF

PdfBounds

Gets the rectangle to fit relative to the bottom left corner.

public RectangleF PdfBounds { get; }

Property Value

System.Drawing.RectangleF