Defines the fluent API for configuring ChartWizardExportOptionsPdfSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartWizardExportOptionsPdfSettingsBuilder<T> where T : class
Inheritance: objectChartWizardExportOptionsPdfSettingsBuilder<T>
Inherited Members
Constructors
ChartWizardExportOptionsPdfSettingsBuilder method.
public ChartWizardExportOptionsPdfSettingsBuilder(ChartWizardExportOptionsPdfSettings<T> container)
Properties
Gets or sets the Container.
protected ChartWizardExportOptionsPdfSettings<T> Container { get; }
Methods
Specifies if the Print dialog should be opened immediately after loading the document.
public ChartWizardExportOptionsPdfSettingsBuilder<T> AutoPrint()
ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
Specifies if the Print dialog should be opened immediately after loading the document.
public ChartWizardExportOptionsPdfSettingsBuilder<T> AutoPrint(bool value)
The value for AutoPrint
Returns:ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
The creator of the PDF document.
public ChartWizardExportOptionsPdfSettingsBuilder<T> Creator(string value)
The value for Creator
Returns:ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
The date when the PDF document is created. Defaults to new Date().
public ChartWizardExportOptionsPdfSettingsBuilder<T> Date(DateTime value)
The value for Date
Returns:ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
The forced resolution (in dpi) of the images in the exported PDF document. By default, the images are exported at their full resolution.
public ChartWizardExportOptionsPdfSettingsBuilder<T> ImgDPI(double value)
The value for ImgDPI
Returns:ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
Specifies the quality of the images within the exported file, from 0 to 1.
public ChartWizardExportOptionsPdfSettingsBuilder<T> JpegQuality(double value)
The value for JpegQuality
Returns:ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
If set to true all PNG images contained in the exported file will be kept in PNG format.
public ChartWizardExportOptionsPdfSettingsBuilder<T> KeepPNG()
ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
If set to true all PNG images contained in the exported file will be kept in PNG format.
public ChartWizardExportOptionsPdfSettingsBuilder<T> KeepPNG(bool value)
The value for KeepPNG
Returns:ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
Specifies the keywords of the exported PDF file.
public ChartWizardExportOptionsPdfSettingsBuilder<T> Keywords(string value)
The value for Keywords
Returns:ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
Set to true to reverse the paper dimensions if needed such that width is the larger edge.
public ChartWizardExportOptionsPdfSettingsBuilder<T> Landscape()
ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
Set to true to reverse the paper dimensions if needed such that width is the larger edge.
public ChartWizardExportOptionsPdfSettingsBuilder<T> Landscape(bool value)
The value for Landscape
Returns:ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
Specifies the margins of the page (numbers or strings with units). Supported units are "mm", "cm", "in" and "pt" (default).
public ChartWizardExportOptionsPdfSettingsBuilder<T> Margin(Action<ChartWizardExportOptionsPdfMarginSettingsBuilder<T>> configurator)
The ChartWizardExportOptionsPdfMarginSettingsBuilder<T> for the margin setting.
Returns:ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current instance of ChartWizardExportOptionsPdfSettingsBuilder<T> .
Specifies the paper size of the PDF document. The default "auto" means paper size is determined by content.Supported values: A predefined size. The supported paper sizes are: A0-A10, B0-B10, C0-C10, Executive, Folio, Legal, Letter, Tabloid.; An array of two numbers specifying the width and height in points (1pt = 1/72in) or An array of two strings specifying the width and height in units. Supported units are "mm", "cm", "in" and "pt"..
public ChartWizardExportOptionsPdfSettingsBuilder<T> PaperSize(string value)
The value for PaperSize
Returns:ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
Sets the subject of the PDF file.
public ChartWizardExportOptionsPdfSettingsBuilder<T> Subject(string value)
The value for Subject
Returns:ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.
Sets the title of the PDF file.
public ChartWizardExportOptionsPdfSettingsBuilder<T> Title(string value)
The value for Title
Returns:ChartWizardExportOptionsPdfSettingsBuilder<T>
Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.