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

PDF export settings

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class TreeListPdfExportSettings : StateManager, IMarkableStateManager, IStateManager, IDisposable

Inheritance: objectStateManagerTreeListPdfExportSettings

Implements: IDisposableIMarkableStateManagerIStateManager

Inherited Members StateManager.TrackViewState()StateManager.LoadViewState(object)StateManager.SaveViewState()StateManager.IsTrackingViewStateStateManager.ViewStateobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public TreeListPdfExportSettings()

Properties

Allow adding new content to the PDF file

C#
public bool AllowAdd { get; set; }

Allow copying PDF content to the clipboard

C#
public bool AllowCopy { get; set; }

Allow modifying the PDF contents

C#
public bool AllowModify { get; set; }

Allow printing the contents of the PDF document

C#
public bool AllowPrinting { get; set; }

PDF export alternating item style

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public TreeListPdfStyle AlternatingItemStyle { get; }

Document author

C#
public string Author { get; set; }

Document creator

C#
public string Creator { get; set; }

Determines the default font

C#
public string DefaultFontFamily { get; set; }

PDF export expand/collapse cell style

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public TreeListPdfExpandCollapseCellStyle ExpandCollapseCellStyle { get; }

FontType

FontType

Determines whether to embed, link or subset the fonts, used in the PDF document

C#
public FontType FontType { get; set; }

PDF export header style

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public TreeListPdfStyle HeaderStyle { get; }

PDF export item style

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public TreeListPdfStyle ItemStyle { get; }

PDF document keywords

C#
[TypeConverter(typeof(StringArrayConverter))]
public string[] Keywords { get; set; }

Bottom page margin size

C#
public Unit PageBottomMargin { get; set; }

Page footer margin size

C#
public Unit PageFooterMargin { get; set; }

Page header margin size

C#
public Unit PageHeaderMargin { get; set; }

Determines the page height of the exported PDF file. Will override the PaperSize property, if used

C#
public Unit PageHeight { get; set; }

Left page margin size

C#
public Unit PageLeftMargin { get; set; }

Right page margin size

C#
public Unit PageRightMargin { get; set; }

Page title contents will be displayed in the page header

C#
public string PageTitle { get; set; }

Top page margin size

C#
public Unit PageTopMargin { get; set; }

Determines the page width of the exported PDF file. Will override the PaperSize property, if used

C#
public Unit PageWidth { get; set; }

PDF paper size. Can be overriden by setting PageWidth and PageHeight explicitly.

C#
public PaperKind PaperSize { get; set; }

Document producer

C#
public string Producer { get; set; }

This will swap the values of the PageWidth and PageHeight properties.

C#
public bool RotatePaper { get; set; }

Document subject

C#
public string Subject { get; set; }

Document title

C#
public string Title { get; set; }

Setting a value for this property will enable password protection

C#
public string UserPassword { get; set; }

Methods

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool