Skip to main content

IdxRichEditCharacterStyle.SetParent(IdxRichEditCharacterStyle) Method

Derives the current character style from another character style in a document.

Declaration

procedure SetParent(const Value: IdxRichEditCharacterStyle);

Parameters

Name Type
Value IdxRichEditCharacterStyle

Remarks

Call this procedure and pass an existing character style as the Value parameter to import all font attributes into the current character style. Then, you can adjust specific font attributes (such as color, underline style, size, etc.) to differentiate the new style from its source.

The SetParent procedure is the Parent property’s setter.

See Also