SchedulerPdfSettings
Container of misc. grouping settings of RadScheduler control
Definition
Namespace:Telerik.Web.UI.Scheduler
Assembly:Telerik.Web.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class SchedulerPdfSettings : ObjectWithState
Inheritance: objectObjectWithStateSchedulerPdfSettings
Inherited Members
Constructors
Properties
Gets or sets the allow add.
public bool AllowAdd { get; set; }
The allow add.
Gets or sets the allow copy.
public bool AllowCopy { get; set; }
The allow copy.
Gets or sets the allow modify.
public bool AllowModify { get; set; }
The allow modify.
Gets or sets whether paging is enabled.
public bool AllowPaging { get; set; }
Gets or sets the allow printing.
public bool AllowPrinting { get; set; }
The allow printing.
Gets or sets the author.
public string Author { get; set; }
The author.
Gets or sets the creator.
public string Creator { get; set; }
The creator.
Gets or sets the default font family.
public string DefaultFontFamily { get; set; }
The default font family.
FontType
FontType
This property describes the different types of font embedding: Link, Embed and Subset.
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:
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! 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.
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
[TypeConverter(typeof(SchedulerStringArrayConverter))]
public virtual string[] Keywords { get; set; }
The keywords.
Gets or sets the page bottom margin.
public Unit PageBottomMargin { get; set; }
The page bottom margin.
Gets or sets the page footer margin.
public Unit PageFooterMargin { get; set; }
The page footer margin.
Gets or sets the page header margin.
public Unit PageHeaderMargin { get; set; }
The page header margin.
Gets or sets the page height that RadScheduler will use when exporting to PDF.
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.
public Unit PageLeftMargin { get; set; }
The page left margin.
Gets or sets the page right margin.
public Unit PageRightMargin { get; set; }
The page right margin.
Gets or sets the page title.
public string PageTitle { get; set; }
The page title.
Gets or sets the page top margin.
public Unit PageTopMargin { get; set; }
The page top margin.
Gets or sets the page width that RadScheduler will use when exporting to PDF.
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.
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.
public SchedulerPaperSize PaperSize { get; set; }
It will be overridden by setting PageWidth and PageHeight explicitly.
Gets or sets the producer.
public string Producer { get; set; }
The producer.
Gets or sets the comma delimited list of stylesheets that RadScheduler will use when exporting to PDF.
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
[TypeConverter(typeof(SchedulerStringArrayConverter))]
public virtual string[] StyleSheets { get; set; }
The stylesheets.
Gets or sets the subject.
public string Subject { get; set; }
The subject.
Gets or sets the user password.If you set a password, the exported document will be password protected.
public string UserPassword { get; set; }
The user password.