TChunkedText.SetText

procedure SetText(const text: UnicodeString; font: TFontCache; fontColor: TColor32 = clBlack32; backColor: TColor32 = clBlack32);


SetText clears any existing text chunks and replaces them using the text and styles provided.