AppendText Method |
[Top] [Chapter] [Previous] [Next] |
Applies to Declaration procedure AppendText(const NewText: WideString; CharAttr: Integer); Description This method appends text to the end of this paragraph. CharAttr can be usually passed as 0.
C# Example: Memo.CurrAttr.Clear(); Memo.CurrAttr.SetFontface("Arial"); Memo.CurrAttr.SetFontSize(11); Memo.CurrAttr.IncludeStyles(2); // Italic! // append text using the current writing mode Memo.CurrPar.AppendText("Some bold text", -2); |