Skip to main content

IdxRichEditCharacterStyle.SetName(string) Method

Assigns a new public name to the character style.

Declaration

procedure SetName(const Value: string);

Parameters

Name Type
Value string

Remarks

Call this procedure and pass a meaningful name as the Value parameter to differentiate the character style among other styles in the parent document‘s CharacterStyles collection. The Rich Edit control’s automatically generated Styles Gallery displays these names with the corresponding text samples for all primary character styles.

{Image}

The SetName procedure is the Name property’s setter.

See Also