TXTextControl.SubTextPartCollection.AddResult Enumeration

Specifies the result when a subtextpart has been added to the document.

Member Description
AlreadyExists The subtextpart wasn't inserted because it already exists.
Combined The subtextpart was inserted and combined with an existing one. A subtextpart is combined with an existing one, when it immediately follows it and has the same name and id.
Error An unexpected error has occurred.
NoSelection The subtextpart wasn't inserted because there is no selection.
Overlapping The subtextpart wasn't inserted because it overlaps with an existing textpart.
PositionInvalid The subtextpart wasn't inserted because the specified position values are invalid. Invalid start and/or length values have been specified.
SelectionTooComplex The subtextpart wasn't inserted because the selection is too complex. It is not a continuous sequence of characters.
Successful The subtextpart has successfully been inserted.

See Also