ClassRectangleFit
Destination that scales a specified page rectangle to fit inside the viewport while preserving aspect ratio.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Navigation
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class RectangleFit : Destination, IFixedDocumentElement
Inheritance: objectFixedDocumentElementBaseDestinationRectangleFit
Implements:
Inherited Members
Constructors
RectangleFit()
Initializes a destination that zooms to fit a given rectangle on the page within the viewport, preserving aspect ratio.
Declaration
public RectangleFit()
Properties
Bottom
Gets or sets the rectangle's bottom Y coordinate in page units.
Declaration
public double? Bottom { get; set; }
Property Value
The bottom coordinate value, or null if not specified.
Left
Gets or sets the rectangle's left X coordinate in page units.
Declaration
public double? Left { get; set; }
Property Value
The left coordinate value, or null if not specified.
Right
Gets or sets the rectangle's right X coordinate in page units.
Declaration
public double? Right { get; set; }
Property Value
The right coordinate value, or null if not specified.
Top
Gets or sets the rectangle's top Y coordinate in page units.
Declaration
public double? Top { get; set; }
Property Value
The top coordinate value, or null if not specified.