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.SetPrimary(Boolean) Method

Changes the character style’s primary status in a parent document.

#Declaration

Delphi
procedure SetPrimary(const Value: Boolean);

#Parameters

Name Type
Value Boolean

#Remarks

Call this procedure and pass True or False as the Value parameter to publish or hide the character style in an opened document. You can preview and use primary character styles via the automatically generated Styles Gallery. Note that TXT and HTML document export routines ignore a paragraph style’s primary status.

The SetPrimary procedure is the Primary property’s setter.

See Also