PSPDFNoteAnnotationView


@interface PSPDFNoteAnnotationView : PSPDFAnnotationView

Renders a note annotation’s icon on its page. Note annotations are handled as subviews to be draggable.

  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFNoteAnnotationView : PSPDFAnnotationView
  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFNoteAnnotationView : PSPDFAnnotationView
  • Designated initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAnnotation:
        (nonnull PSPDFAnnotation *)noteAnnotation;

    Swift

    init(annotation noteAnnotation: PSPDFAnnotation)
  • Image of the rendered annotation.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable)
        UIImageView *annotationImageView;

    Swift

    var annotationImageView: NSImageView? { get set }
  • Override to customize the image tinting.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) UIImage *renderNoteImage;

    Swift

    var renderNoteImage: NSImage? { get }
  • Force image re-render.

    Declaration

    Objective-C

    - (void)updateImageAnimated:(BOOL)animated;

    Swift

    func updateImage(animated: Bool)