Obsolete. This method will be removed in one of the next versions. Removes a Sub
Introduced: X16.
<void> TextPart.removeSubTextPart(<function> callback, [<boolean> keepText], [<boolean> keepNested], [<SubTextPartInfo> subTextPart])| Parameter | Description |
|---|---|
| callback | A function with one parameter. Is called with a boolean value as parameter, which indicates whether the Sub |
| keep |
Optional. If this parameter is set to true, the subtextpart is removed without deleting its visible text. Otherwise, the visible text is also removed. |
| keep |
Optional. If this parameter is set to true, nested subtextparts are preserved. When the keep |
| sub |
Optional. Specifies which Sub |