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

Defines the fluent API for configuring ChartWizardExportOptionsPdfSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class ChartWizardExportOptionsPdfSettingsBuilder<T> where T : class

Inheritance: objectChartWizardExportOptionsPdfSettingsBuilder<T>

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

Constructors

ChartWizardExportOptionsPdfSettingsBuilder method.

C#
public ChartWizardExportOptionsPdfSettingsBuilder(ChartWizardExportOptionsPdfSettings<T> container)
Parameters:containerChartWizardExportOptionsPdfSettings<T>

Properties

Gets or sets the Container.

C#
protected ChartWizardExportOptionsPdfSettings<T> Container { get; }

Methods

Specifies if the Print dialog should be opened immediately after loading the document.

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> AutoPrint()
Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.

Specifies if the Print dialog should be opened immediately after loading the document.

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> AutoPrint(bool value)
Parameters:valuebool

The value for AutoPrint

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.

The creator of the PDF document.

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> Creator(string value)
Parameters:valuestring

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().

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> Date(DateTime value)
Parameters:valueDateTime

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.

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> ImgDPI(double value)
Parameters:valuedouble

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.

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> JpegQuality(double value)
Parameters:valuedouble

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.

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> KeepPNG()
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.

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> KeepPNG(bool value)
Parameters:valuebool

The value for KeepPNG

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.

Specifies the keywords of the exported PDF file.

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> Keywords(string value)
Parameters:valuestring

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.

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> Landscape()
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.

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> Landscape(bool value)
Parameters:valuebool

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).

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> Margin(Action<ChartWizardExportOptionsPdfMarginSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartWizardExportOptionsPdfMarginSettingsBuilder<T>>

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"..

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> PaperSize(string value)
Parameters:valuestring

The value for PaperSize

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.

Sets the subject of the PDF file.

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> Subject(string value)
Parameters:valuestring

The value for Subject

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.

Sets the title of the PDF file.

C#
public ChartWizardExportOptionsPdfSettingsBuilder<T> Title(string value)
Parameters:valuestring

The value for Title

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

Returns the current ChartWizardExportOptionsPdfSettingsBuilder<T> instance.