New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Telerik.Web.UI.GridExcelBuilder.PageLayoutElement

Used to change the page orientation and alignment. The effect of these settings is visible in Print mode only.

Inheritance Hierarchy

  • System.Object
  • Telerik.Web.UI.GridExcelBuilder.Abstract.ElementBase : IElement
  • Telerik.Web.UI.GridExcelBuilder.PageLayoutElement

Properties

Attributes IAttributesCollection

Collection of the attributes of the current element

InnerElements IElementsCollection

Collection of inner elements

IsCenteredHorizontal Boolean

Determines whether the page will be centered horizontally

IsCenteredVertical Boolean

Determines whether the page will be centered vertically

PageOrientation PageOrientationType

Sets the page orientation to portrait (default) or landscape

Methods

AppendAttributes

Appends the attirbutes to the output

Parameters

sb System.Text.StringBuilder

StringBuilder object that holds the rendered output

Returns

System.Void

Render

Renders the element

Parameters

sb System.Text.StringBuilder

StringBuilder object that holds the rendered output

Returns

System.Void

RenderChildElements

Renders the child elements

Parameters

sb System.Text.StringBuilder

StringBuilder object that holds the rendered output

Returns

System.Void

In this article