Skip to main content
FieldTypeDescription
destPathstringDestination path / URL: when linkType === 4, set this to the URL; otherwise set it to the destination file path
destPagenumberDestination page (only valid when linkType === 0 or linkType === 2)
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
rectRectText region rectangle (pixel coordinates; must be non-zero area)
fontSizenumberFont size (positive number)
showTextstringDisplay text (usually a simplified version of fullText)
fullTextstringFull text
isItalicnumberItalic: 0 no, 1 yes
TextLink is used to create text links (for insertTextLink). If you are reading link data from a lasso selection, see Link and LassoLink.