ClassPageLayoutHelper
A helper class dedicated for layout related calculations of a fixed page.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Utilities.Rendering
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public static class PageLayoutHelper
Inheritance: objectPageLayoutHelper
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
page
Returns
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
page
Returns
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
page
Returns
Rect
The visible page content rectangle.