Defines the fluent API for configuring the EditorPdfSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorPdfSettingsBuilder
Inheritance: objectEditorPdfSettingsBuilder
Inherited Members
Constructors
Methods
Sets the author of the PDF document.
public EditorPdfSettingsBuilder Author(string value)
The value that configures the author.
Returns:Sets the creator of the PDF document.
public EditorPdfSettingsBuilder Creator(string value)
The value that configures the creator.
Returns:Defines the date when the PDF document is created. Defaults to new Date().
public EditorPdfSettingsBuilder Date(DateTime value)
The value that configures the date.
Returns:Specifies the file name of the exported PDF file.
public EditorPdfSettingsBuilder FileName(string value)
The value that configures the filename.
Returns:If set to true, the content will be forwarded to proxyURL even if the browser supports saving files locally.
public EditorPdfSettingsBuilder ForceProxy(bool value)
The value that enables the ForceProxy option.
Returns:Specifies the keywords of the exported PDF file.
public EditorPdfSettingsBuilder Keywords(string value)
The value that configures the keywords.
Returns:Set to true to reverse the paper dimensions if needed such that width is the larger edge.
public EditorPdfSettingsBuilder Landscape(bool value)
The value that enables the Landscape option.
Returns:Specifies the margins of the page (numbers or strings with units). Supported units are "mm", "cm", "in" and "pt" (default).
public EditorPdfSettingsBuilder Margin(Action<EditorPdfMarginSettingsBuilder> configurator)
The action that configures the margin.
Returns:Specifies the paper size of the PDF document. The default "auto" means paper size is determined by content.Supported values:
public EditorPdfSettingsBuilder PaperSize(string value)
The value that configures the PaperSize.
Returns:A name or keyword indicating where to display the document returned from the proxy. If you want to display the document in a new window or iframe, the proxy should set the "Content-Disposition" header to inline; filename="<fileName.pdf>".
public EditorPdfSettingsBuilder ProxyTarget(string value)
The value that configures the ProxyTarget.
Returns:The URL of the server side proxy which will stream the file to the end user. A proxy will be used when the browser isn't capable of saving files locally (e.g., Internet Explorer 9 and Safari). PDF export is not supported in Internet Explorer 8 and below. 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", "base64", "fileName". The proxy should return the decoded file with the "Content-Disposition" header set to attachment; filename="<fileName.pdf>".
public EditorPdfSettingsBuilder ProxyURL(string value)
The value that configures the ProxyURL.
Returns:Sets the subject of the PDF file.
public EditorPdfSettingsBuilder Subject(string value)
The value that configures the subject.
Returns:Sets the title of the PDF file.
public EditorPdfSettingsBuilder Title(string value)
The value that configures the title.
Returns: