Class
PagesLayoutManagerBase

Represents pages layout manager base.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Layout

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

cs-api-definition
public abstract class PagesLayoutManagerBase

Inheritance: objectPagesLayoutManagerBase

Constructors

PagesLayoutManagerBase(IFixedDocumentPresenter)

Initializes a new instance of the PagesLayoutManagerBase class.

Declaration

cs-api-definition
public PagesLayoutManagerBase(IFixedDocumentPresenter presenter)

Parameters

presenter

IFixedDocumentPresenter

The presenter.

Properties

ContentSize

Gets or sets the size of the content.

Declaration

cs-api-definition
public Size ContentSize { get; protected set; }

Property Value

Size

The size of the content.

Document

Gets the document.

Declaration

cs-api-definition
protected RadFixedDocument Document { get; }

Property Value

RadFixedDocument

The document.

PageMargins

Gets the page margins.

Declaration

cs-api-definition
protected Size PageMargins { get; }

Property Value

Size

The page margins.

Presenter

Gets the presenter.

Declaration

cs-api-definition
protected IFixedDocumentPresenter Presenter { get; }

Property Value

IFixedDocumentPresenter

The presenter.

RotationAngleToDouble

Gets the rotation angle numeric value.

Declaration

cs-api-definition
protected Dictionary<RotationAngle, double> RotationAngleToDouble { get; }

Property Value

Dictionary<RotationAngle, double>

The numeric value of the rotation angle.

ScaleFactor

Gets the scale factor.

Declaration

cs-api-definition
protected double ScaleFactor { get; }

Property Value

double

The scale factor.

Methods

CreateTransformations(Size, RotationAngle)

Creates the transformations.

Declaration

cs-api-definition
protected TransformGroup CreateTransformations(Size pageSize, RotationAngle rotationAngle)

Parameters

pageSize

Size

Size of the page.

rotationAngle

RotationAngle

The rotation angle.

Returns

TransformGroup

GetNearestPageLayoutInfo(Point)

Gets the nearest page layout info.

Declaration

cs-api-definition
protected FixedPageLayoutInfo GetNearestPageLayoutInfo(Point point)

Parameters

point

Point

The point.

Returns

FixedPageLayoutInfo

GetPageLayoutInfoFromPage(RadFixedPage)

Gets the page layout info from page.

Declaration

cs-api-definition
protected FixedPageLayoutInfo GetPageLayoutInfoFromPage(RadFixedPage page)

Parameters

page

RadFixedPage

The page.

Returns

FixedPageLayoutInfo

GetPageVerticalOffset(int)

Gets the page vertical offset.

Declaration

cs-api-definition
public double GetPageVerticalOffset(int pageNo)

Parameters

pageNo

int

The page no.

Returns

double

GetPagesLayoutInfos()

Gets the pages layout infos.

Declaration

cs-api-definition
protected abstract List<FixedPageLayoutInfo> GetPagesLayoutInfos()

Returns

List<FixedPageLayoutInfo>

GetRotationAngleNumeric(RotationAngle)

Gets the rotation angle numeric.

Declaration

cs-api-definition
protected double GetRotationAngleNumeric(RotationAngle angle)

Parameters

angle

RotationAngle

The angle.

Returns

double

GetScaledPageSize(RadFixedPage)

Gets the size of the scaled page.

Declaration

cs-api-definition
protected Size GetScaledPageSize(RadFixedPage page)

Parameters

page

RadFixedPage

The page.

Returns

Size

GetViewPointFromLocation(RadFixedPage, Point, out Point)

Gets the view point from location.

Declaration

cs-api-definition
public bool GetViewPointFromLocation(RadFixedPage page, Point location, out Point point)

Parameters

page

RadFixedPage

The page.

location

Point

The location.

point

Point

The point.

Returns

bool

Release()

Releases this instance.

Declaration

cs-api-definition
public abstract void Release()

RotateSize(Size, RotationAngle)

Rotates the size.

Declaration

cs-api-definition
protected Size RotateSize(Size pageSize, RotationAngle rotationAngle)

Parameters

pageSize

Size

Size of the page.

rotationAngle

RotationAngle

The rotation angle.

Returns

Size

UpdateLayout(Size)

Updates the layout.

Declaration

cs-api-definition
public abstract void UpdateLayout(Size viewportSize)

Parameters

viewportSize

Size

Size of the viewport.