PDFViewerMessagesToolbarZoomSettingsBuilder

Methods

ActualWidth(System.String)

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)

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)

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)

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)

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)

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)

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")) 
                    )
                )
             )