Defines the fluent API for configuring the PDFViewerToolbarSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PDFViewerToolbarSettingsBuilder
Inheritance: objectPDFViewerToolbarSettingsBuilder
Inherited Members
Constructors
Initialize the PDFViewerToolbarSettingsBuilder
public PDFViewerToolbarSettingsBuilder(PDFViewerToolbarSettings settings)
Methods
When this option is enabled, the toolbar will render a dropdown button as its first item. The dropdown will display the 'open', 'download' and 'print' tools instead of rendering them on the right-side of the toolbar.
public PDFViewerToolbarSettingsBuilder ContextMenu(bool value)
The value that enables or disables the ContextMenu.
Returns:The built-in tools are: 'pager', 'zoomInOut', 'zoom', 'toggleSelection', 'search', 'open', 'download', 'print', and 'annotations'. For DPL Processing, the 'exportAs' tool can be configured to export a single page to '.png' or '.svg'. The 'zoom', 'zoomInOut', 'toggleSelection', 'search', and 'print' tools are available only with PDFjs processing.
public PDFViewerToolbarSettingsBuilder Items(Action<PDFViewerToolbarSettingsItemFactory> configurator)
The action that configures the items.
Returns:Specifies Toolbar.overflow configuration for the toolbar.
public PDFViewerToolbarSettingsBuilder Overflow(Action<PDFViewerToolbarOverflowSettingsBuilder> configurator)
The configurator for the overflow setting.
Returns: