rvico TRichView Reference | Item Types | Numbered Sequence

TRVSeqItemInfo.FormatString

Top  Previous  Next

Text format.

FormatString: String;

If value of this property is not empty, it defines format for text. Use '%s' to specify where to insert numbering.

For example, if FormatString = 'Figure %s.', NumberType = rvseqUpperRoman, and counter value is 2, this item displays 'Figure II.'.

You can assign this property before inserting this item in TRichView.

This property is ignored when saving documents to RTF.

If you change this property for an item that was already inserted in a document, call RichView.RefreshSequences.

Use TRichViewEdit.SetCurrentItemExtraStrPropertyEx to change value of this property as an editing operation.

Default value:

'' (empty string)


TRichView © trichview.com