PDF export settings
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class TreeListPdfExportSettings : StateManager, IMarkableStateManager, IStateManager, IDisposable
Inheritance: objectStateManagerTreeListPdfExportSettings
Implements:
Inherited Members
Constructors
public TreeListPdfExportSettings()
Properties
Allow modifying the PDF contents
public bool AllowModify { get; set; }
Allow printing the contents of the PDF document
public bool AllowPrinting { get; set; }
PDF export alternating item style
[PersistenceMode(PersistenceMode.InnerProperty)]
public TreeListPdfStyle AlternatingItemStyle { get; }
Determines the default font
public string DefaultFontFamily { get; set; }
PDF export expand/collapse cell style
[PersistenceMode(PersistenceMode.InnerProperty)]
public TreeListPdfExpandCollapseCellStyle ExpandCollapseCellStyle { get; }
FontType
FontType
Determines whether to embed, link or subset the fonts, used in the PDF document
public FontType FontType { get; set; }
PDF export header style
[PersistenceMode(PersistenceMode.InnerProperty)]
public TreeListPdfStyle HeaderStyle { get; }
PDF export item style
[PersistenceMode(PersistenceMode.InnerProperty)]
public TreeListPdfStyle ItemStyle { get; }
PDF document keywords
[TypeConverter(typeof(StringArrayConverter))]
public string[] Keywords { get; set; }
Bottom page margin size
public Unit PageBottomMargin { get; set; }
Page footer margin size
public Unit PageFooterMargin { get; set; }
Page header margin size
public Unit PageHeaderMargin { get; set; }
Determines the page height of the exported PDF file. Will override the PaperSize property, if used
public Unit PageHeight { get; set; }
Left page margin size
public Unit PageLeftMargin { get; set; }
Right page margin size
public Unit PageRightMargin { get; set; }
Page title contents will be displayed in the page header
public string PageTitle { get; set; }
Top page margin size
public Unit PageTopMargin { get; set; }
Determines the page width of the exported PDF file. Will override the PaperSize property, if used
public Unit PageWidth { get; set; }
PDF paper size. Can be overriden by setting PageWidth and PageHeight explicitly.
public PaperKind PaperSize { get; set; }
This will swap the values of the PageWidth and PageHeight properties.
public bool RotatePaper { get; set; }
Setting a value for this property will enable password protection
public string UserPassword { get; set; }
Methods
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Implements: