Skip to main content

IdxRichEditCharacterStyle.IsDeleted Property

Identifies whether the character style is marked as deleted in the parent document.

Declaration

property IsDeleted: Boolean read;

Property Value

Type
Boolean

Remarks

The Rich Edit control uses the “deleted” mark to manage character and paragraph styles throughout the user action history. Every time the Undo command cancels a character style create operation, the control marks the style as “deleted”. You cannot apply the marked style to a document range or save it to a file until the corresponding Redo command restores the style. The control irreversibly removes the marked style from the opened document once a new user action overwrites the style create operation’s undo action.

The IsDeleted property returns True if the character style is marked as deleted; otherwise – False.

See Also