Unknown Class
This type of annotation may be cannot read by Dynamsoft Document Viewer so far.
API Index
| API Name | Description |
|---|---|
uid |
Return the uid of the annotation. |
pageUid |
Return the uid of the page where the annotation is located. |
source |
Return the source of the annotation. |
type |
Return the type of the annotation |
creationDate |
Return the creation date of the annotation. |
modificationDate |
Return the modification date of the annotation. |
uid
Return the uid of the annotation.
Syntax
readonly uid: string;
pageUid
Return the uid of the page where the annotation is located.
Syntax
readonly pageUid: string;
Remark
- It will return
'', if the annotation is deleted.
source
Return the source of the annotation. Possible values:
- user: the annotation is created by the user’s action
- file: the annotation is created from a PDF file
- api: the annotation is created with code
Remark
It will return '', if the annotation is deleted.
type
Return the type of the annotation: unknown.
All annotation types:
"rectangle" | "ellipse" | "line" | "polygon" | "polyline" | "ink" | "textBox" | "textTypewriter" | "stamp" | "highlight" | "underline" | "strikeout" | "incomplete" | "unknown"
creationDate
Return the creation date of the annotation.
Syntax
readonly creationDate: string;
Remark
- The string would be
D:YYYYMMDDHHmmSSOHH'mm', likeD:20230101085959-08'00'.
modificationDate
Return the modification date of the annotation.
Syntax
readonly modificationDate: string;
Remark
- The string would be
D:YYYYMMDDHHmmSSOHH'mm', likeD:20230101085959-08'00'. - It will return
'', if the annotation is deleted. - If the annotation is created but not be modified after adding, it equals to
creationDate.