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
@(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
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.DefaultPageSize(dfpagesize => dfpagesize.Height(842))
)