Class MainToolbar

Main toolbar of PSPDFKt Viewer.

Inheritance
MainToolbar
Implements
Namespace: PSPDFKit.Sdk.Models.Toolbar
Assembly: Sdk.dll
Syntax
public class MainToolbar : IMainToolbar

Fields

| Edit this page View Source

DefaultToolbarItems

Returns default toolbar items in main toolbar.

Declaration
public static readonly IImmutableList<Type> DefaultToolbarItems
Field Value
Type Description
IImmutableList<Type>
Remarks

Please keep in mind that under some circumstances some items may be hidden. Items hidden for touch devices: pan Items hidden for touch devices when the media query (max-width: 992px) for medium devices matches: zoom-out zoom-in zoom-mode Items hidden for small screens (max-width: 992px) text callout ink highlighter text-highlighter ink-eraser line arrow rectangle cloudy-rectangle dashed-rectangle ellipse cloudy-ellipse dashed-ellipse polygon cloudy-polygon dashed-polygon polyline signature image stamp note undo redo link

Properties

| Edit this page View Source

ToolbarItems

Gets list of toolbar items on main toolbar.

Declaration
public ObservableCollection<IMainToolbarItem> ToolbarItems { get; }
Property Value
Type Description
ObservableCollection<IMainToolbarItem>
Exceptions
Type Condition
PSPDFKitInvalidTypeException

Thrown when invalid type of item is added to the collection.

Implements

IMainToolbar