Skip to main content
LassoLink.linkType indicates the link type read from the lasso selection. Supported linkType ranges may differ across write APIs; for example, parameter validation in insertTextLink and modifyLassoLink currently only allows 0..4.
FieldTypeDescription
categorynumberLink category: 0 text link, 1 stroke link
stylenumberLink style: 0 solid underline, 1 solid border, 2 dashed border
linkTypenumberLink type: 0 note page, 1 note file, 2 document, 3 image, 4 URL, 6 digest
destPathstringDestination path / URL: when linkType === 4, set this to the URL; otherwise set it to the destination file path
destPagenumberDestination page
fullTextstringFull text (only for text links)
showTextstringDisplay text (only for text links)
italicnumberItalic: 0 no, 1 yes