Class PageLayoutHelper
A helper class dedicated for layout related calculations of a fixed page.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Utilities.Rendering
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public static class PageLayoutHelper
Methods
GetActualHeight(IFixedPage)
Gets the height of the visible page content boundaries. This method considers the rotation of the page.
Declaration
public static double GetActualHeight(IFixedPage page)
Parameters
IFixedPage
page
|
Returns
System.Double
The height of the rotated page content to be displayed. |
GetActualWidth(IFixedPage)
Gets the width of the visible page content boundaries. This method considers the rotation of the page.
Declaration
public static double GetActualWidth(IFixedPage page)
Parameters
IFixedPage
page
|
Returns
System.Double
The width of the rotated page content to be displayed. |
GetVisibleContentBox(IFixedPage)
Gets the rectangle of the visible region of the page, i.e. the intersection between the MediaBox and the CropBox properties of the page.
Declaration
public static Rect GetVisibleContentBox(IFixedPage page)
Parameters
IFixedPage
page
|
Returns
System.Windows.Rect
The visible page content rectangle. |