Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IdxRichEditCharacterStyle.SetName(string) Method

Assigns a new public name to the character style.

#Declaration

Delphi
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