Defines the fluent API for configuring the PivotGridV2PdfSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PivotGridV2PdfSettingsBuilder
Inheritance: objectPivotGridV2PdfSettingsBuilder
Inherited Members
Constructors
Initialize the PivotGridV2PdfSettingsBuilder
public PivotGridV2PdfSettingsBuilder(PivotGridV2PdfSettings settings)
Methods
Defines the author of the exported PDF document.
public PivotGridV2PdfSettingsBuilder Author(string value)
The value that configures the author.
Returns:Specifies if the Print dialog must be opened immediately after loading the document.
public PivotGridV2PdfSettingsBuilder AutoPrint(bool value)
The value that configures the AutoPrint option.
Returns:Indicates whether to produce actual hyperlinks in the exported PDF file.
public PivotGridV2PdfSettingsBuilder AvoidLinks(bool value)
The value that configures the AvoidLinks option.
Returns:Defines the creator of the exported PDF document.
public PivotGridV2PdfSettingsBuilder Creator(string value)
The value that configures the creator.
Returns:Defines the date when the PDF document is created.
public PivotGridV2PdfSettingsBuilder Date(DateTime value)
The value that configures the date of creation.
Returns:Specifies the file name of the exported PDF file.
public PivotGridV2PdfSettingsBuilder FileName(string value)
The value that configures the file name.
Returns:If set to "true", the content will be forwarded to the specified ProxyURL even if the browser supports saving files locally.
public PivotGridV2PdfSettingsBuilder ForceProxy(bool value)
The value that enables or disabled the ForceProxy option.
Returns:Specifies the quality of the images within the exported file (from 0 to 1).
public PivotGridV2PdfSettingsBuilder JpegQuality(double value)
The value that configures the JpegQuality option.
Returns:If set to "true", all PNG images contained in the exported file will be kept in PNG format.
public PivotGridV2PdfSettingsBuilder KeepPNG(bool value)
The value that configures the KeepPNG option.
Returns:Specifies the keywords of the exported PDF file.
public PivotGridV2PdfSettingsBuilder Keywords(string value)
The value that configures the keywords.
Returns:If set to "true", the paper dimensions are reversed (the width is the larger edge).
public PivotGridV2PdfSettingsBuilder Landscape(bool value)
The value that configures the Landscape option.
Returns:Specifies the margins of the PDF page (numbers or strings with units). The supported units are "mm", "cm", "in" and "pt" (default).
public PivotGridV2PdfSettingsBuilder Margin(Action<PivotGridV2PdfMarginSettingsBuilder> configurator)
The action that configures the margins.
Returns:Specifies the paper size of the PDF document. The default value is "auto" meaning the paper size is determined by the content. The supported values are "A4", "A3", and more. The supported units are "mm", "cm", "in", and "pt".
public PivotGridV2PdfSettingsBuilder PaperSize(string value)
The value that configures the PaperSize option.
Returns:Defines a name or keyword indicating where to display the document returned from the proxy. The default value is "_self".
public PivotGridV2PdfSettingsBuilder ProxyTarget(string value)
The value that configures the ProxyTarget option.
Returns:The URL of the server side proxy that will stream the file to the end user. The developer is responsible for implementing the server-side proxy. The proxy will receive a POST request with the following parameters in the request body:
- contentType: The MIME type of the file.
- base64: The base-64 encoded file content.
- fileName: The file name, as requested by the caller.
The proxy must return the decoded file with the "Content-Disposition" header set to 'attachment; filename="<fileName.xslx>"'.
public PivotGridV2PdfSettingsBuilder ProxyURL(string value)
The value that configures the proxy URL.
Returns:Sets the subject of the exported PDF file.
public PivotGridV2PdfSettingsBuilder Subject(string value)
The value that configures the subject.
Returns:Sets the title of the exported PDF file.
public PivotGridV2PdfSettingsBuilder Title(string value)
The value that configures the title.
Returns: