Class AnnotationToolbar
Toolbar containing annotation tools.
Implements
Namespace: PSPDFKit.Sdk.Models.Toolbar
Assembly: Sdk.dll
Syntax
public class AnnotationToolbar : IAnnotationToolbar
Fields
| Edit this page View SourceDefaultToolbarItems
Returns default toolbar items for annotation toolbar
Declaration
public static readonly IImmutableDictionary<AnnotationType, IImmutableList<Type>> DefaultToolbarItems
Field Value
Type | Description |
---|---|
IImmutableDictionary<AnnotationType, IImmutableList<Type>> |
Remarks
This list is Idiom sensetive.
Properties
| Edit this page View SourceToolbarItems
Gets annotation toolbar items for all annotation types.
Declaration
public IImmutableDictionary<AnnotationType, ObservableCollection<IAnnotationToolbarItem>> ToolbarItems { get; }
Property Value
Type | Description |
---|---|
IImmutableDictionary<AnnotationType, ObservableCollection<IAnnotationToolbarItem>> |
Exceptions
Type | Condition |
---|---|
PSPDFKitInvalidTypeException | Thrown when invalid type of item is added to the collection. |