View model

  • Used to configure custom annotation groups for the annotation toolbar. - see: PSPDFAnnotationToolbarConfiguration for details.

    @code [[PSPDFAnnotationToolbarConfiguration alloc] initWithAnnotationGroups:@[

    [PSPDFAnnotationGroup groupWithItems:@[ [PSPDFAnnotationGroupItem itemWithType:PSPDFAnnotationStringInk variant:PSPDFAnnotationStringInkVariantPen configurationBlock:[PSPDFAnnotationGroupItem inkConfigurationBlock]]]],

    [PSPDFAnnotationGroup groupWithItems:@[ [PSPDFAnnotationGroupItem itemWithType:PSPDFAnnotationStringLine], [PSPDFAnnotationGroupItem itemWithType:PSPDFAnnotationStringPolyLine]]] ]]; @endcode

    See more

    Declaration

    Objective-C

    
    @interface PSPDFAnnotationGroup : PSPDFModel

    Swift

    class PSPDFAnnotationGroup : PSPDFModel