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

Container of misc. grouping settings of RadScheduler control

Definition

Namespace:Telerik.Web.UI.Scheduler

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class SchedulerPdfSettings : ObjectWithState

Inheritance: objectObjectWithStateSchedulerPdfSettings

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public SchedulerPdfSettings(StateBag OwnerStateBag)
Parameters:OwnerStateBagStateBag

Properties

Gets or sets the allow add.

C#
public bool AllowAdd { get; set; }
Property Value:

The allow add.

Gets or sets the allow copy.

C#
public bool AllowCopy { get; set; }
Property Value:

The allow copy.

Gets or sets the allow modify.

C#
public bool AllowModify { get; set; }
Property Value:

The allow modify.

Gets or sets whether paging is enabled.

C#
public bool AllowPaging { get; set; }

Gets or sets the allow printing.

C#
public bool AllowPrinting { get; set; }
Property Value:

The allow printing.

Gets or sets the author.

C#
public string Author { get; set; }
Property Value:

The author.

Gets or sets the creator.

C#
public string Creator { get; set; }
Property Value:

The creator.

Gets or sets the default font family.

C#
public string DefaultFontFamily { get; set; }
Property Value:

The default font family.

FontType

FontType

This property describes the different types of font embedding: Link, Embed and Subset.

C#
public FontType FontType { get; set; }

Possible values:

  • Link
    The font program is referenced by name in the rendered PDF. Anyone who views a rendered PDF with a linked font program must have that font installed on their computer otherwise it will not display correctly.
  • Embed
    The entire font program is embedded in the rendered PDF. Embedding the entire font program guarantees the PDF will display as intended by the author on all computers, however this method does possess several disadvantages:
    1. Font programs can be extremely large and will significantly increase the size of the rendered PDF. For example, the MS Gothic TrueType collection is 8MB!
    2. Certain font programs cannot be embedded due to license restrictions. If you attempt to embed a font program that disallows embedding, RadScheduler will substitute the font with a base 14 font and generate a warning message.
  • Subset (default value)
    Subsetting a font will generate a new font that is embedded in the rendered PDF that contains only the chars referenced by RadScheduler. For example, if a particular RadScheduler utilised the Verdana font referencing only the character 'A', a subsetted font would be generated at run-time containing only the information necessary to render the character 'A'.

    Subsetting provides the benefits of embedding and significantly reduces the size of the font program. However, small processing overhead is incurred to generated the subsetted font.

Gets or sets the comma delimited list of keywords.

C#
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
[TypeConverter(typeof(SchedulerStringArrayConverter))]
public virtual string[] Keywords { get; set; }
Property Value:

The keywords.

Gets or sets the page bottom margin.

C#
public Unit PageBottomMargin { get; set; }
Property Value:

The page bottom margin.

Gets or sets the page footer margin.

C#
public Unit PageFooterMargin { get; set; }
Property Value:

The page footer margin.

Gets or sets the page header margin.

C#
public Unit PageHeaderMargin { get; set; }
Property Value:

The page header margin.

Gets or sets the page height that RadScheduler will use when exporting to PDF.

C#
public Unit PageHeight { get; set; }

This setting will override any predefined value that comes from the PaperSize property.

Gets or sets the page left margin.

C#
public Unit PageLeftMargin { get; set; }
Property Value:

The page left margin.

Gets or sets the page right margin.

C#
public Unit PageRightMargin { get; set; }
Property Value:

The page right margin.

Gets or sets the page title.

C#
public string PageTitle { get; set; }
Property Value:

The page title.

Gets or sets the page top margin.

C#
public Unit PageTopMargin { get; set; }
Property Value:

The page top margin.

Gets or sets the page width that RadScheduler will use when exporting to PDF.

C#
public Unit PageWidth { get; set; }

This setting will override any predefined value that comes from the PaperSize property.

Gets or sets the physical paper orientation that RadScheduler will use when exporting to PDF.

C#
public SchedulerPaperOrientation PaperOrientation { get; set; }

It will be overridden by setting PageWidth and PageHeight explicitly.

Gets or sets the physical paper size that RadScheduler will use when exporting to PDF.

C#
public SchedulerPaperSize PaperSize { get; set; }

It will be overridden by setting PageWidth and PageHeight explicitly.

Gets or sets the producer.

C#
public string Producer { get; set; }
Property Value:

The producer.

Gets or sets the comma delimited list of stylesheets that RadScheduler will use when exporting to PDF.

C#
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
[TypeConverter(typeof(SchedulerStringArrayConverter))]
public virtual string[] StyleSheets { get; set; }
Property Value:

The stylesheets.

Gets or sets the subject.

C#
public string Subject { get; set; }
Property Value:

The subject.

Gets or sets the title.

C#
public string Title { get; set; }
Property Value:

The title.

Gets or sets the user password.If you set a password, the exported document will be password protected.

C#
public string UserPassword { get; set; }
Property Value:

The user password.