PDFViewerMessagesToolbarZoomSettingsBuilder

Methods

ActualWidth(System.String)

Sets the text for the actual width zoom option in the PDF viewer toolbar.

Parameters

value - System.String

The value that configures the actualwidth.

Example

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

AutoWidth(System.String)

Sets the text for the automatic width zoom option in the PDF viewer toolbar.

Parameters

value - System.String

The value that configures the autowidth.

Example

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

FitToWidth(System.String)

Sets the text for the fit to width zoom option in the PDF viewer toolbar.

Parameters

value - System.String

The value that configures the fittowidth.

Example

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

FitToPage(System.String)

Sets the text for the fit to page zoom option in the PDF viewer toolbar.

Parameters

value - System.String

The value that configures the fittopage.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb
                        .Zoom(zoom => zoom.FitToPage("Fit To Page"))
                    )
                )
             )
             

ZoomIn(System.String)

Sets the text for the zoom in button in the PDF viewer toolbar.

Parameters

value - System.String

The value that configures the zoomin.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb
                        .Zoom(zoom => zoom.ZoomIn("Zoom In"))
                    )
                )
             )
             

ZoomLevel(System.String)

Sets the text for the zoom level dropdown in the PDF viewer toolbar.

Parameters

value - System.String

The value that configures the zoomlevel.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb
                        .Zoom(zoom => zoom.ZoomLevel("Zoom Level"))
                    )
                )
             )
             

ZoomOut(System.String)

Sets the text for the zoom out button in the PDF viewer toolbar.

Parameters

value - System.String

The value that configures the zoomout.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(tb => tb
                        .Zoom(zoom => zoom.ZoomOut("Zoom Out"))
                    )
                )
             )