Annotations API Methods
getNote()
Returns a reference to an instance of one sticky note as an object for manipulation. It takes one argument, a string containing the sticky note id. The sticky note id format is a set of hyphen-delimited letters and numbers such as 61e2d437-6a34-4a14-b8f8-d07f1d5c7ef6
. If the object does not exist, null will be returned.
Examples
const myNote = itemsApp.assessApp().annotationsApp().module('stickynote').getNote('61e2d437-6a34-4a14-b8f8-d07f1d5c7ef6');
Arguments
-
id string
Return value
Type object
An object describing a rectangular bounding box, which contains individual drawings.
-
collapse function
See collapse method.
-
expand function
See expand method.
-
getCollectionId function
See getCollectionId method.
-
getContent function
See getContent method.
-
getDimensions function
See getDimensions method.
-
getId function
See getId method.
-
getPosition function
See getPosition method.
-
hide function
See hide method.
-
isExpanded function
See isExpanded method.
-
isVisible function
See isVisible method.
-
remove function
See remove method.
-
resize function
See resize method.
-
setCollectionId function
See setCollectionId method.
-
setContent function
See setContent method.
-
setPosition function
See setPosition method.
-
show function
See show method.