Class
PageLayoutHelper

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:

cs-api-definition
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

cs-api-definition
public static double GetActualHeight(IFixedPage page)

Parameters

page

IFixedPage

Returns

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

cs-api-definition
public static double GetActualWidth(IFixedPage page)

Parameters

page

IFixedPage

Returns

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

cs-api-definition
public static Rect GetVisibleContentBox(IFixedPage page)

Parameters

page

IFixedPage

Returns

Rect

The visible page content rectangle.