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 for Title

RETURNS

Returns the current PDFViewerMessagesDialogsExportAsDialogSettingsBuilder instance.

Example

Razor
 
            @(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 for DefaultFileName

RETURNS

Returns the current PDFViewerMessagesDialogsExportAsDialogSettingsBuilder instance.

Example

Razor
 
            @(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 for Pdf

RETURNS

Returns the current PDFViewerMessagesDialogsExportAsDialogSettingsBuilder instance.

Example

Razor
 
            @(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 for Png

RETURNS

Returns the current PDFViewerMessagesDialogsExportAsDialogSettingsBuilder instance.

Example

Razor
 
            @(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 for Svg

RETURNS

Returns the current PDFViewerMessagesDialogsExportAsDialogSettingsBuilder instance.

Example

Razor
 
            @(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 configurator for the labels setting.

RETURNS

Returns the current instance of PDFViewerMessagesDialogsExportAsDialogSettingsBuilder .