[]
DsPdfJS API / MarkupAnnotationProperties
MarkupAnnotationProperties =
AnnotationBaseProperties&object
The common properties for markup annotations that are used primarily to mark up PDF documents.
optionalcolor:Color
The annotation color, it used as color of popup window, lines color etc.
optionalcreationDate:PdfDateTime
The date and time when the annotation was created.
optionalopacity:number
The opacity value to be used in painting the annotation. This value applies to all visible elements of the annotation in its closed state (including its background and border) but not to the pop-up window that appears when the annotation is opened. Not specified means 1 (means 100% opacity)
optionalpopup:PopupAnnotation|PopupAnnotationProperties
The PopupAnnotation or PopupAnnotationProperties object for entering or editing text associated with this annotation. Setting this property changes the PopupAnnotation#parent property. A separate PopupAnnotation allows defining additional properties of the popup window: color, position etc.
optionalreference:object
The annotation referenced by this annotation.
target:
MarkupAnnotation
The annotation referenced by this annotation.
optionaltype:AnnotationReferenceType
The relationship (reference type) between this annotation and the annotation specified by the 'target' property. The referenced annotation should be on the same page with the current annotation. Not specified means "Reply".
optionalrichText:string
The text to be displayed in the pop-up window when the annotation is opened. This text can be formatted using HTML tags, see PDF specification for details.
optionalsubject:string
The text representing a short description of the subject being addressed by the annotation.
optionaluserName:string
The text label to be displayed in the title bar of the annotation's pop-up window when open and active. By convention, this entry identifies the user who added the annotation.