PDFViewerMessagesDialogsExportAsDialogLabelsSettingsBuilder

Methods

FileName(System.String)

Specifies the label text for the filename input field in the export dialog where users enter the desired output filename.

Parameters

value - System.String

The value that configures the filename.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .ExportAsDialog(expDialog => expDialog.Labels(labels => labels.FileName("Filename")))
                    )
                )
             )
             

SaveAsType(System.String)

Specifies the label text for the file format selection dropdown in the export dialog where users choose the export format (PDF, PNG, or SVG).

Parameters

value - System.String

The value that configures the saveastype.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .ExportAsDialog(expDialog => expDialog.Labels(labels => labels.SaveAsType("Save file as")))
                    )
                )
             )
             

Page(System.String)

Specifies the label text for the page selection control in the export dialog where users specify which page to export when using single-page export formats.

Parameters

value - System.String

The value that configures the page.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .ExportAsDialog(expDialog => expDialog.Labels(labels => labels.Page("Page")))
                    )
                )
             )