PDFViewerMessagesSettingsBuilder

Methods

DefaultFileName(System.String)

Specifies the default file name used for Download.

Parameters

value - System.String

The value for DefaultFileName

RETURNS

Returns the current PDFViewerMessagesSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
               .Messages(messages => messages.DefaultFileName("Document"))
             )
             

Toolbar(System.Action)

Specifies the localization messages of the toolbar.

Parameters

configurator - System.Action<PDFViewerMessagesToolbarSettingsBuilder>

The configurator for the toolbar setting.

RETURNS

Returns the current instance of PDFViewerMessagesSettingsBuilder .

ErrorMessages(System.Action)

Specifies the localization messages for various error scenarios that can occur during PDF processing and display. These messages are shown to users when errors are encountered.

Parameters

configurator - System.Action<PDFViewerMessagesErrorMessagesSettingsBuilder>

The configurator for the errormessages setting.

RETURNS

Returns the current instance of PDFViewerMessagesSettingsBuilder .

Dialogs(System.Action)

Specifies the localization messages for various dialog windows used by the PDF viewer, including export dialogs, search panels, and common dialog buttons.

Parameters

configurator - System.Action<PDFViewerMessagesDialogsSettingsBuilder>

The configurator for the dialogs setting.

RETURNS

Returns the current instance of PDFViewerMessagesSettingsBuilder .