PdfTextAnnotation
Represents a text annotation (sticky note) in a PDF document.
from nutrient_sdk import PdfTextAnnotationInherits from: PdfMarkupAnnotation
Construction
PdfTextAnnotation cannot be instantiated directly. Obtain instances through static factory methods or via other SDK classes.
Properties
icon_name
@propertydef icon_name(self) -> str
@icon_name.setterdef icon_name(self, value: str) -> NoneThe icon name for the annotation. Valid values: Comment, Key, Note, Help, NewParagraph, Paragraph, Insert
Type: str
is_open
@propertydef is_open(self) -> bool
@is_open.setterdef is_open(self, value: bool) -> NoneWhether the annotation popup should initially be open.
Type: bool
state
@propertydef state(self) -> strThe state of the annotation (for review workflows).
Type: str
Read-only property.
state_model
@propertydef state_model(self) -> strThe state model (e.g., “Marked”, “Review”).
Type: str
Read-only property.
Inherited members
From PdfAnnotation: blend_mode, border_effect, border_effect_intensity, border_style, border_width, color, contents, index, is_hidden, is_printable, modification_date, name, rect, sub_type, title
From PdfMarkupAnnotation: creation_date, opacity, rich_text_contents, subject