Icon StrokeText Method

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

Available In: Visual Client Applications

Use this method draw the outline of the specified text at the specified point with the font specified by the Font property, and the color, gradient, or pattern specified by the StrokeStyle, StrokeColor, StrokeGradient, or StrokePattern properties. The LineCapStyle, LineJoinStyle, MiterLimit and LineWidth properties control how the lines that make up the outline of the font characters are drawn.

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