@express-document-sdk / TextContent
Interface: TextContent
data-slots=text
data-variant=warning
experimentalApis flag to true in the requirements section of the manifest.json.The values yielded by VisualNode.allTextContent and PageNode.allTextContent.
Properties
textContentModel
• textContentModel: TextContentModel
visibleRanges
• visibleRanges: TextRange[]
An unsorted list of the subranges of the related text content model that are visible within the node.
Since a single text content model can be displayed across multiple TextNode "frames", any of which could be outside of the node, the union of all the subranges in this value may still be a subset of the total range.
visibleText
• visibleText: string[]
An unsorted list of the parts of the related text content model that are visible within the node.
Since a single text content model can be displayed across multiple TextNode "frames", any of which could be outside of the node, the union of all the text in this value may still be a subset of the total text.