New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class Location : Destination, IFixedDocumentElement

Inheritance: objectFixedDocumentElementBaseDestinationLocation

Implements: IFixedDocumentElement

Inherited Members Destination.PageFixedDocumentElementBase.Parent

Constructors

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.

C#
public Location()

Properties

Gets or sets the X coordinate to align in the viewport; null preserves current horizontal scroll.

C#
public double? Left { get; set; }
Property Value:

The left coordinate in points, or null to preserve the current horizontal position.

Remarks:

Coordinates are in document space with origin at the top-left. X increases to the right and Y increases downward.

Gets or sets the Y coordinate to align in the viewport; null preserves current vertical scroll.

C#
public double? Top { get; set; }
Property Value:

The top coordinate in points, or null to preserve the current vertical position.

Remarks:

Coordinates are in document space with origin at the top-left. X increases to the right and Y increases downward.

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

C#
public double? Zoom { get; set; }
Property Value:

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.