PDFViewerMessagesToolbarSettingsBuilder

Methods

ContextMenu(System.String)

Specifies the localization message of the 'contextMenu' tool.

Parameters

value - System.String

The value that configures the message text.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb.ContextMenu("Menu"))
                )
             )
             

Open(System.String)

Specifies the localization message of the 'open' tool.

Parameters

value - System.String

The value that configures the Open.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb.Open("Open"))
                )
             )
             

ExportAs(System.String)

Specifies the localization message of the tooltip of the export button.

Parameters

value - System.String

The value that configures the ExportAs.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb.ExportAs("Export"))
                )
             )
             

Download(System.String)

Specifies the localization message of the 'download' tool.

Parameters

value - System.String

The value that configures the download.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb.Download("Download"))
                )
             )
             

Pager(System.Action)

Specifies the localization messages of the toolbar pager.

Parameters

configurator - System.Action<PDFViewerMessagesToolbarPagerSettingsBuilder>

The action that configures the pager.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(toolbar => toolbar
                        .Pager(pager => pager.First("Go to the first page")) 
                    )
                )
             )
             

Print(System.String)

Specifies the localization message of the 'print' tool.

Parameters

value - System.String

The value that configures the print.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb.Print("Print"))
                )
             )
             

ToggleSelection(System.String)

Specifies the localization message of the 'toggleSelection' tool.

Parameters

value - System.String

The value that configures the toggleselection.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb.ToggleSelection("Enable Selection"))
                )
             )
             

TogglePan(System.String)

Specifies the localization message of the panning tool.

Parameters

value - System.String

The value that configures the togglepan.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb.TogglePan("Enable Panning"))
                )
             )
             

Search(System.String)

Specifies the localization message of the 'search' tool.

Parameters

value - System.String

The value that configures the search.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb.Search("Search"))
                )
             )
             

Zoom(System.Action)

Specifies the localization messages of the 'zoom' tool.

Parameters

configurator - System.Action<PDFViewerMessagesToolbarZoomSettingsBuilder>

The action that configures the zoom.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb
                        .Zoom(zoom => zoom.ActualWidth("Actual Width")) 
                    )
                )
             )