New to Telerik UI for ASP.NET MVC? Download free 30-day trial

PDFViewerMessagesToolbarSettingsBuilder

Methods

Open(System.String)

Specifies the localization message of the 'open' tool.

Parameters

value - System.String

The value that configures the Open.

Example


            @(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


            @(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


            @(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


            @(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


            @(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


            @(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


            @(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


            @(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


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

In this article
Not finding the help you need?