JVCL Help:TJvCustomRichEdit.AddFormatText@string@TFont

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Appends formatted text.


Pascal

 procedureAddFormatText(constS: string; constAFont: TFont = nil); overload;
procedureAddFormatText(constS: string; FontStyle: TFontStyles; constFontName: string = ; constFontColor: TColor = clDefault; FontHeight: Integer = 0); overload;


Parameters

Parameters Description
const S: string Specifies the string to insert.
const AFont: TFont = nil Specifies the font to use. If AFont = nil, then the current attributes at the insertion point are used.
FontStyle: TFontStyles Description for this parameter
const FontName: string = Description for this parameter
const FontColor: TColor = clDefault Description for this parameter
FontHeight: Integer = 0 Description for this parameter


Description

Call AddFormatText to append formatted text to the content of the rich edit control.


See Also

TJvCustomRichEdit.InsertGraphic, TJvCustomRichEdit.InsertFormatText


About

Notes

This procedure does not reset the attributes after the call, i.e if you change the text color it will remain that color until you change it again.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page