IdxRichEditCharacterStyle.SetPrimary(Boolean) Method
Changes the character style’s primary status in a parent document.
Declaration
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