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
Initializes a new instance of the PagesLayoutManagerBase class.
public PagesLayoutManagerBase(IFixedDocumentPresenter presenter)
The presenter.
Properties
ContentSize
Size
Gets or sets the size of the content.
public Size ContentSize { get; protected set; }
The size of the content.
Document
RadFixedDocument
Gets the document.
protected RadFixedDocument Document { get; }
The document.
PageMargins
Size
Gets the page margins.
protected Size PageMargins { get; }
The page margins.
Gets the presenter.
protected IFixedDocumentPresenter Presenter { get; }
The presenter.
Gets the rotation angle numeric value.
protected Dictionary<RotationAngle, double> RotationAngleToDouble { get; }
The numeric value of the rotation angle.
Gets the scale factor.
protected double ScaleFactor { get; }
The scale factor.
Methods
CreateTransformations(Size, RotationAngle)
TransformGroup
Creates the transformations.
protected TransformGroup CreateTransformations(Size pageSize, RotationAngle rotationAngle)
Size of the page.
rotationAngleRotationAngleThe rotation angle.
Returns:TransformGroup
Gets the nearest page layout info.
protected FixedPageLayoutInfo GetNearestPageLayoutInfo(Point point)
The point.
Returns:Gets the page layout info from page.
protected FixedPageLayoutInfo GetPageLayoutInfoFromPage(RadFixedPage page)
The page.
Returns:Gets the pages layout infos.
protected abstract List<FixedPageLayoutInfo> GetPagesLayoutInfos()
Gets the rotation angle numeric.
protected double GetRotationAngleNumeric(RotationAngle angle)
The angle.
Returns:Gets the size of the scaled page.
protected Size GetScaledPageSize(RadFixedPage page)
The page.
Returns:Size
Gets the view point from location.
public bool GetViewPointFromLocation(RadFixedPage page, Point location, out Point point)
The page.
locationPointThe location.
pointPointThe point.
Returns:Releases this instance.
public abstract void Release()
Rotates the size.
protected Size RotateSize(Size pageSize, RotationAngle rotationAngle)
Size of the page.
rotationAngleRotationAngleThe rotation angle.
Returns:Size
Updates the layout.
public abstract void UpdateLayout(Size viewportSize)
Size of the viewport.