Icon FillText Method

procedure FillText(const Text: String; X,Y: Double; MaxWidth:
      Double=-1)

Available In: Visual Client Applications

Use this method to draw the specified text at the specified point with the font specified by the Font property, and the color, gradient, or pattern specified by the FillStyle, FillColor, FillGradient, and FillPattern properties.

The optional MaxWidth parameter specifies a maximum width for the text. If the width of the text exceeds this value, then the text is drawn using a condensed font so that it fits within the specified width.
Image