PDFViewerDefaultPageSizeSettingsBuilder

Methods

Width(System.Double)

Specifies the default page width if no PDF is displayed in the PDFViewer.

Parameters

value - System.Double

The value that configures the width.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
               .DefaultPageSize(dfpagesize => dfpagesize.Width(595))
             )
             

Height(System.Double)

Specifies the default page height if no PDF is displayed in the PDFViewer.

Parameters

value - System.Double

The value that configures the height.

Example

Razor
 
            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
               .DefaultPageSize(dfpagesize => dfpagesize.Height(842))
             )
             
In this article
MethodsWidth(System.Double)Height(System.Double)
Not finding the help you need?
Contact Support