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

Defines the fluent API for configuring the ChartWizardExportOptionsPdfSettings settings.

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

Initialize the ChartWizardExportOptionsPdfSettingsBuilder

C#
public ChartWizardExportOptionsPdfSettingsBuilder(ChartWizardExportOptionsPdfSettings settings)
Parameters:settingsChartWizardExportOptionsPdfSettings

The ChartWizardExportOptionsPdfSettings

Methods

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

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

The value that configures the autoprint.

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

The creator of the PDF document.

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

The value that configures the creator.

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

The date when the PDF document is created. Defaults to new Date().

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

The value that configures the date.

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

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 that configures the imgdpi.

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

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 that configures the jpegquality.

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

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 that configures the keeppng.

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

Specifies the keywords of the exported PDF file.

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

The value that configures the keywords.

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

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 that configures the landscape.

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

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 action that configures the margin.

Returns:

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 that configures the papersize.

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

Sets the subject of the PDF file.

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

The value that configures the subject.

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>

Sets the title of the PDF file.

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

The value that configures the title.

Returns:

ChartWizardExportOptionsPdfSettingsBuilder<T>