Nutrient Web SDK

ReferenceContentEditingUpdatedTextBlock

Interface UpdatedTextBlock

Describes the properties used to update a text block.

This is a partial text block that contains the id of the text block and the new text. It is used to update the text block in the document.

Interface

Properties

anchor

Optional
{ x?: number; y?: number }

The anchor point of the text block.

PropertyDescription
x
y
string

Unique identifier for the text block.

maxWidth

Optional
number

The maximum width of the text block.

text

Optional
string

The new text content of the text block.