Defines the fluent API for configuring PDFViewerDefaultPageSizeSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PDFViewerDefaultPageSizeSettingsBuilder
Inheritance: objectPDFViewerDefaultPageSizeSettingsBuilder
Inherited Members
Constructors
PDFViewerDefaultPageSizeSettingsBuilder method.
public PDFViewerDefaultPageSizeSettingsBuilder(PDFViewerDefaultPageSizeSettings container)
Properties
Gets the settings being configured.
protected PDFViewerDefaultPageSizeSettings Container { get; }
Methods
Specifies the default height in pixels for PDF pages when no document is loaded. The page will be automatically scaled to fit the viewer's dimensions while maintaining aspect ratio.
public PDFViewerDefaultPageSizeSettingsBuilder Height(double value)
The value for Height
Returns:PDFViewerDefaultPageSizeSettingsBuilder
Returns the current PDFViewerDefaultPageSizeSettingsBuilder instance.
Specifies the default width in pixels for PDF pages when no document is loaded. The page will be automatically scaled to fit the viewer's dimensions while maintaining aspect ratio.
public PDFViewerDefaultPageSizeSettingsBuilder Width(double value)
The value for Width
Returns:PDFViewerDefaultPageSizeSettingsBuilder
Returns the current PDFViewerDefaultPageSizeSettingsBuilder instance.