Class
Location

Destination that scrolls to an explicit point on a page with optional zoom factor.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Navigation

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

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

Inheritance: objectFixedDocumentElementBaseDestinationLocation

Implements: IFixedDocumentElement

Inherited Members Destination.PageFixedDocumentElementBase.Parent

Constructors

Location()

Initialize a location destination with no fixed offsets or zoom; unless Left, Top, or Zoom are set later, navigation preserves the viewer's current position and scale.

Declaration

cs-api-definition
public Location()

Properties

Left

Gets or sets the X coordinate to align in the viewport; null preserves current horizontal scroll. 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 in points, or null to preserve the current horizontal position.

Top

Gets or sets the Y coordinate to align in the viewport; null preserves current vertical scroll. 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 in points, or null to preserve the current vertical position.

Zoom

Gets or sets the zoom factor applied on navigation; null keeps the viewer's existing zoom.

Declaration

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

Property Value

double?

The zoom factor as a decimal value (e.g., 1.0 for 100%, 2.0 for 200%), or null to preserve the current zoom level.