Skip to main content

ApiFreeTextAnnotation

Class representing a freeText annotation.

ApiFreeTextAnnotation is a subclass of ApiBaseAnnotation.

Methods​

The following table lists the available methods.

MethodReturnsDescription
AddReplybooleanAdds reply on this annot.
DeletebooleanRemoves annotation from document.
GetAuthorNamestringGets annotation author name.
GetBorderColorApiColor | null | undefinedGets annotation border color.
GetBorderEffectIntensitynumberGets annotation border effect intensity.
GetBorderEffectStyleAnnotBorderEffectStyleGets annotation border effect style.
GetBorderStyleAnnotBorderStyleGets annotation border style.
GetBorderWidthptGets annotation border width.
GetCalloutFreeTextCallout | null | undefinedGets annot callout.
GetClassType"freeTextAnnot"Returns a type of the ApiFreeTextAnnotation class.
GetContentApiRichContentGets annotation rich content.
GetContentsstring | null | undefinedGets annotation contents.
GetCreationDatenumberGets annotation creation date.
GetDashPatternnumber[]Gets annotation dash pattern.
GetDisplayDisplayTypeGets annotation display type.
GetEndStyleLineEndStyleGets a line end style.
GetFillColorApiColor | null | undefinedGets annotation fill color.
GetIntentFreeTextIntentGets intent type of this annotation.
GetInternalIdstringReturns an internal ID of the current annotation.
GetModDatenumberGets annotation last modification date.
GetOpacitystringGets annotation opacity.
GetPositionPointGets annotation position.
GetRectRectGets annotation rect.
GetRectDiffRectGets annotation rect difference.
GetRepliesApiTextAnnotation[]Gets replies on this annot.
GetSubjectstring | null | undefinedGets annotation subject.
GetUniqueNamestringGets annotation unique name.
SetAuthorNamebooleanSets annotation author name.
SetBorderColorbooleanSets annotation border color.
SetBorderEffectIntensitybooleanSets annotation border effect intensity.
SetBorderEffectStylebooleanSets annotation border effect style.
SetBorderStylebooleanSets annotation border style.
SetBorderWidthbooleanSets annotation border width.
SetCalloutbooleanSets annot callout.
SetContentsbooleanSets annotation contents.
SetCreationDatebooleanSets annotation creation date.
SetDashPatternbooleanSets annotation dash pattern.
SetDisplaybooleanSets annotation display type.
SetEndStylebooleanSets a line end style.
SetFillColorbooleanSets annotation fill color.
SetIntentbooleanSets intent type for this annotation.
SetModDatebooleanSets annotation last modification date.
SetOpacitybooleanSets annotation opacity.
SetPositionbooleanSets annotation position.
SetRectbooleanSets annotation rect.
SetRectDiffbooleanSets annotation rect difference.
SetSubjectbooleanSets annotation subject.
SetUniqueNamebooleanSets annotation unique name.