PageLayoutElement
Class
Used to change the page orientation and alignment. The effect of these settings is visible in Print mode only.
Definition
Namespace:Telerik.Web.UI.GridExcelBuilder
Assembly:Telerik.Web.UI.dll
Syntax:
C#
public class PageLayoutElement : ElementBase, IElement
Inheritance: objectElementBasePageLayoutElement
Implements:
Inherited Members
Constructors
PageLayoutElement default constructor
C#
public PageLayoutElement()
Properties
Determines whether the page will be centered horizontally
C#
public bool IsCenteredHorizontal { get; set; }
Determines whether the page will be centered vertically
C#
public bool IsCenteredVertical { get; set; }
Sets the page orientation to portrait (default) or landscape
C#
public PageOrientationType PageOrientation { get; set; }
Methods
Appends the attirbutes to the output
C#
protected override void AppendAttributes(StringBuilder sb)
StringBuilder object that holds the rendered output
Overrides: