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