Class
RectangleFit

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:

cs-api-definition
public class RectangleFit : Destination, IFixedDocumentElement

Inheritance: objectFixedDocumentElementBaseDestinationRectangleFit

Implements: IFixedDocumentElement

Inherited Members Destination.PageFixedDocumentElementBase.Parent

Constructors

RectangleFit()

Initializes a destination that zooms to fit a given rectangle on the page within the viewport, preserving aspect ratio.

Declaration

cs-api-definition
public RectangleFit()

Properties

Bottom

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

cs-api-definition
public double? Bottom { get; set; }

Property Value

double?

The bottom coordinate value, or null if not specified.

Left

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

cs-api-definition
public double? Left { get; set; }

Property Value

double?

The left coordinate value, or null if not specified.

Right

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

cs-api-definition
public double? Right { get; set; }

Property Value

double?

The right coordinate value, or null if not specified.

Top

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

cs-api-definition
public double? Top { get; set; }

Property Value

double?

The top coordinate value, or null if not specified.