Skip to main content
Titles are a NOTE-only capability; DOC does not support them. Titles can only be created and modified on the main layer (layer=0) of a note file.

Create a Title

Call PluginNoteAPI.setLassoTitle to set the lasso-selected strokes or geometries as a title. Example:
When creating a title, you only need to provide the title style (style).
Before calling this API, you must create a lasso selection on the page; otherwise the API call fails.

Get Lasso Title Data

Call PluginNoteAPI.getLassoTitles to get title data from the current lasso selection. Example:
PluginNoteAPI.getLassoTitles can only be called when a lasso context exists. It returns an APIResponse<Title[]>. result is an array of Title. The data structure of Title:
The comments above describe the meaning of each field.

Modify a Title

After lasso-selecting a title, call PluginNoteAPI.modifyLassoTitle to modify the title data. Example: