PDFViewerMessagesDialogsExportAsDialogSettingsBuilder
Methods
Title(System.String)
Specifies the title text displayed in the export dialog header when users choose to export PDF pages in different formats.
Parameters
value - System.String
The value that configures the title.
Example
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.Messages(messages => messages
.Dialogs(dialogs => dialogs
.ExportAsDialog(expDialog => expDialog.Title("Export..."))
)
)
)
DefaultFileName(System.String)
Specifies the default filename shown in the export dialog's file name input field when no specific document name is available.
Parameters
value - System.String
The value that configures the defaultfilename.
Example
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.Messages(messages => messages
.Dialogs(dialogs => dialogs
.ExportAsDialog(expDialog => expDialog.DefaultFileName("PDFDocument"))
)
)
)
Pdf(System.String)
Specifies the display text for the PDF export format option in the export dialog's file type dropdown list.
Parameters
value - System.String
The value that configures the pdf.
Example
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.Messages(messages => messages
.Dialogs(dialogs => dialogs
.ExportAsDialog(expDialog => expDialog.Pdf(".pdf"))
)
)
)
Png(System.String)
Specifies the display text for the PNG export format option in the export dialog's file type dropdown list.
Parameters
value - System.String
The value that configures the png.
Example
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.Messages(messages => messages
.Dialogs(dialogs => dialogs
.ExportAsDialog(expDialog => expDialog.Png(".png"))
)
)
)
Svg(System.String)
Specifies the display text for the SVG export format option in the export dialog's file type dropdown list.
Parameters
value - System.String
The value that configures the svg.
Example
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.Messages(messages => messages
.Dialogs(dialogs => dialogs
.ExportAsDialog(expDialog => expDialog.Svg(".svg"))
)
)
)
Labels(System.Action)
Specifies the localization messages for form field labels within the export dialog, including file name input, format selection, and page selection controls.
Parameters
configurator - System.Action<PDFViewerMessagesDialogsExportAsDialogLabelsSettingsBuilder>
The action that configures the labels.
Example
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.Messages(messages => messages
.Dialogs(dialogs => dialogs
.ExportAsDialog(expDialog => expDialog.Labels(labels => labels.FileName("Filename")))
)
)
)