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