Class RectangleFit
Destination that scales a specified page rectangle to fit inside the viewport while preserving aspect ratio.
Inheritance
System.Object
RectangleFit
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class RectangleFit : Destination, IFixedDocumentElement, IContextClonable<Destination>
Constructors
Initializes a destination that zooms to fit a given rectangle on the page within the viewport, preserving aspect ratio.
Declaration
Properties
Gets or sets the rectangle's bottom Y coordinate in page units.
Coordinates are in document space with origin at the top-left. X increases to the right and Y increases downward.
Declaration
public double? Bottom { get; set; }
Property Value
|
System.Nullable<System.Double>
The bottom coordinate value, or null if not specified.
|
Gets or sets the rectangle's left X coordinate in page units.
Coordinates are in document space with origin at the top-left. X increases to the right and Y increases downward.
Declaration
public double? Left { get; set; }
Property Value
|
System.Nullable<System.Double>
The left coordinate value, or null if not specified.
|
Gets or sets the rectangle's right X coordinate in page units.
Coordinates are in document space with origin at the top-left. X increases to the right and Y increases downward.
Declaration
public double? Right { get; set; }
Property Value
|
System.Nullable<System.Double>
The right coordinate value, or null if not specified.
|
Gets or sets the rectangle's top Y coordinate in page units.
Coordinates are in document space with origin at the top-left. X increases to the right and Y increases downward.
Declaration
public double? Top { get; set; }
Property Value
|
System.Nullable<System.Double>
The top coordinate value, or null if not specified.
|