PdfTextAnnotation
Represents a text annotation (sticky note) in a PDF document.
using Nutrient;Inherits from: PdfMarkupAnnotation
The SDK creates this class through factory methods or other SDK objects.
Properties
IconName
public string IconName { get; set; }The icon name for the annotation. Valid values: Comment, Key, Note, Help, NewParagraph, Paragraph, Insert
Type: string
IsOpen
public bool IsOpen { get; set; }Whether the annotation popup should initially be open.
Type: bool
State
public string State { get; }The state of the annotation (for review workflows).
Type: string
StateModel
public string StateModel { get; }The state model (e.g., “Marked”, “Review”).
Type: string
Resource management
public void Dispose()PdfTextAnnotation implements IDisposable. Call Dispose() or use a C# using declaration to release its native handle right away. If you don’t, the handle is released when the object is garbage collected.