New to Telerik UI for WPFStart a free 30-day trial

Represents pages layout manager base.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Layout

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

C#
public abstract class PagesLayoutManagerBase

Inheritance: objectPagesLayoutManagerBase

Constructors

Initializes a new instance of the PagesLayoutManagerBase class.

C#
public PagesLayoutManagerBase(IFixedDocumentPresenter presenter)
Parameters:presenterIFixedDocumentPresenter

The presenter.

Properties

Gets or sets the size of the content.

C#
public Size ContentSize { get; protected set; }
Property Value:

The size of the content.

Document

RadFixedDocument

Gets the document.

C#
protected RadFixedDocument Document { get; }
Property Value:

The document.

Gets the page margins.

C#
protected Size PageMargins { get; }
Property Value:

The page margins.

Gets the presenter.

C#
protected IFixedDocumentPresenter Presenter { get; }
Property Value:

The presenter.

Gets the rotation angle numeric value.

C#
protected Dictionary<RotationAngle, double> RotationAngleToDouble { get; }
Property Value:

The numeric value of the rotation angle.

Gets the scale factor.

C#
protected double ScaleFactor { get; }
Property Value:

The scale factor.

Methods

Creates the transformations.

C#
protected TransformGroup CreateTransformations(Size pageSize, RotationAngle rotationAngle)
Parameters:pageSizeSize

Size of the page.

rotationAngleRotationAngle

The rotation angle.

Returns:

TransformGroup

Gets the nearest page layout info.

C#
protected FixedPageLayoutInfo GetNearestPageLayoutInfo(Point point)
Parameters:pointPoint

The point.

Returns:

FixedPageLayoutInfo

Gets the page layout info from page.

C#
protected FixedPageLayoutInfo GetPageLayoutInfoFromPage(RadFixedPage page)
Parameters:pageRadFixedPage

The page.

Returns:

FixedPageLayoutInfo

Gets the pages layout infos.

C#
protected abstract List<FixedPageLayoutInfo> GetPagesLayoutInfos()
Returns:

List<FixedPageLayoutInfo>

Gets the page vertical offset.

C#
public double GetPageVerticalOffset(int pageNo)
Parameters:pageNoint

The page no.

Returns:

double

Gets the rotation angle numeric.

C#
protected double GetRotationAngleNumeric(RotationAngle angle)
Parameters:angleRotationAngle

The angle.

Returns:

double

Gets the size of the scaled page.

C#
protected Size GetScaledPageSize(RadFixedPage page)
Parameters:pageRadFixedPage

The page.

Returns:

Size

Gets the view point from location.

C#
public bool GetViewPointFromLocation(RadFixedPage page, Point location, out Point point)
Parameters:pageRadFixedPage

The page.

locationPoint

The location.

pointPoint

The point.

Returns:

bool

Releases this instance.

C#
public abstract void Release()

Rotates the size.

C#
protected Size RotateSize(Size pageSize, RotationAngle rotationAngle)
Parameters:pageSizeSize

Size of the page.

rotationAngleRotationAngle

The rotation angle.

Returns:

Size

Updates the layout.

C#
public abstract void UpdateLayout(Size viewportSize)
Parameters:viewportSizeSize

Size of the viewport.