PSPDFInstantCommentMarkerAnnotation
Objective-C
@interface PSPDFInstantCommentMarkerAnnotation : PSPDFNoteAnnotation
Swift
class InstantCommentMarkerAnnotation : NoteAnnotation
The root annotation of a freely placed thread of Instant Comments.
In contrast to regular note annotation, comment markers do not have contents of their own. Instead they serve as the anchor for freely placing a comment thread on a page. The actual contents are then represented as an array of comments — objects that have no geometric or appearance-defining properties of their own.
Another difference from regular note annotations is that Instant does not support the author state model defined in the PDF standard. As a result, comment markers will always report an “unspecified” author state and ignore any corresponding updates.
-
Unavailable
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithContents:(nonnull NSString *)contents;
-
Always
nil
.Declaration
Objective-C
@property (copy, nullable) NSString *contents;
Swift
var contents: String? { get set }
-
Always
.unspecified
.Declaration
Objective-C
@property PSPDFAnnotationAuthorStateModel authorStateModel;
-
Always
.unspecified
.Declaration
Objective-C
@property PSPDFAnnotationAuthorState authorState;