View Model
-
Used to configure custom annotation groups for the annotation toolbar.
See
PSPDFAnnotationToolbarConfiguration
for details.
See more[[PSPDFAnnotationToolbarConfiguration alloc] initWithAnnotationGroups:@[ [PSPDFAnnotationGroup groupWithItems:@[ [PSPDFAnnotationGroupItem itemWithType:PSPDFAnnotationStringInk variant:PSPDFAnnotationVariantStringInkPen configurationBlock:[PSPDFAnnotationGroupItem inkConfigurationBlock]]]], [PSPDFAnnotationGroup groupWithItems:@[ [PSPDFAnnotationGroupItem itemWithType:PSPDFAnnotationStringLine], [PSPDFAnnotationGroupItem itemWithType:PSPDFAnnotationStringPolyLine]]] ]];
Declaration
Objective-C
@interface PSPDFAnnotationGroup : PSPDFModel
-
An annotation group items defines one annotation type, optionally with a variant.
See moreDeclaration
Objective-C
@interface PSPDFAnnotationGroupItem : PSPDFModel
-
Specifies a list the toolbar annotation items and their grouping. The
See moreAnnotationToolbar
accepts multiple configurations and will use the most matching one.Declaration
Objective-C
@interface PSPDFAnnotationToolbarConfiguration : PSPDFModel
Swift
class AnnotationToolConfiguration : ModelObject
-
Declaration
Objective-C
@interface PSPDFColorPreset : PSPDFModel <PSPDFStylePreset>
Swift
class ColorPreset : ModelObject, PSPDFStylePreset