ClassPagesLayoutManagerBase
Represents pages layout manager base.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Layout
Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax:
public abstract class PagesLayoutManagerBase
Inheritance: objectPagesLayoutManagerBase
Constructors
PagesLayoutManagerBase(IFixedDocumentPresenter)
Initializes a new instance of the PagesLayoutManagerBase class.
Declaration
public PagesLayoutManagerBase(IFixedDocumentPresenter presenter)
Parameters
presenter
The presenter.
Properties
ContentSize
Gets or sets the size of the content.
Declaration
public Size ContentSize { get; protected set; }
Property Value
Size
The size of the content.
Document
Gets the document.
Declaration
protected RadFixedDocument Document { get; }
Property Value
RadFixedDocument
The document.
PageMargins
Gets the page margins.
Declaration
protected Size PageMargins { get; }
Property Value
Size
The page margins.
Presenter
Gets the presenter.
Declaration
protected IFixedDocumentPresenter Presenter { get; }
Property Value
The presenter.
RotationAngleToDouble
Gets the rotation angle numeric value.
Declaration
protected Dictionary<RotationAngle, double> RotationAngleToDouble { get; }
Property Value
Dictionary<RotationAngle, double>
The numeric value of the rotation angle.
ScaleFactor
Gets the scale factor.
Declaration
protected double ScaleFactor { get; }
Property Value
The scale factor.
Methods
CreateTransformations(Size, RotationAngle)
Creates the transformations.
Declaration
protected TransformGroup CreateTransformations(Size pageSize, RotationAngle rotationAngle)
Parameters
pageSize
Size
Size of the page.
rotationAngle
The rotation angle.
Returns
TransformGroup
GetNearestPageLayoutInfo(Point)
Gets the nearest page layout info.
Declaration
protected FixedPageLayoutInfo GetNearestPageLayoutInfo(Point point)
Parameters
point
Point
The point.
Returns
GetPageLayoutInfoFromPage(RadFixedPage)
Gets the page layout info from page.
Declaration
protected FixedPageLayoutInfo GetPageLayoutInfoFromPage(RadFixedPage page)
Parameters
page
RadFixedPage
The page.
Returns
GetPageVerticalOffset(int)
Gets the page vertical offset.
GetPagesLayoutInfos()
Gets the pages layout infos.
Declaration
protected abstract List<FixedPageLayoutInfo> GetPagesLayoutInfos()
Returns
GetRotationAngleNumeric(RotationAngle)
Gets the rotation angle numeric.
Declaration
protected double GetRotationAngleNumeric(RotationAngle angle)
Parameters
angle
The angle.
Returns
GetScaledPageSize(RadFixedPage)
Gets the size of the scaled page.
Declaration
protected Size GetScaledPageSize(RadFixedPage page)
Parameters
page
RadFixedPage
The page.
Returns
Size
GetViewPointFromLocation(RadFixedPage, Point, out Point)
Gets the view point from location.
Declaration
public bool GetViewPointFromLocation(RadFixedPage page, Point location, out Point point)
Parameters
page
RadFixedPage
The page.
location
Point
The location.
point
Point
The point.
Returns
RotateSize(Size, RotationAngle)
Rotates the size.
Declaration
protected Size RotateSize(Size pageSize, RotationAngle rotationAngle)
Parameters
pageSize
Size
Size of the page.
rotationAngle
The rotation angle.
Returns
Size
UpdateLayout(Size)
Updates the layout.
Declaration
public abstract void UpdateLayout(Size viewportSize)
Parameters
viewportSize
Size
Size of the viewport.