DrawString

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TDrawingBitmap > Methods >

DrawString

Previous pageReturn to chapter overviewNext page

Draws the specified text string at the specified location with the specified Brush and Font objects using the formatting attributes of the specified StringFormat.

 

s - String to draw.

fontFamily - Font that defines the text format of the string.

fontSize - Font size.

fontStyle - Font style.

pBrushColor - Color of the drawn text.

x - The x-coordinate of the upper-left corner of the drawn text.

y - The y-coordinate of the upper-left corner of the drawn text.

pFormatFlags - StringFormat that specifies formatting attributes, such as line spacing and alignment, that are applied to the drawn text.

 

DrawString                     PROCEDURE(STRING s, STRING fontFamily, SREAL fontSize, LONG fontStyle = FONT:regular, LONG pBrushColor, SREAL x, SREAL y, StringFormatFlagsEnum pFormatFlags = 0), BOOL, PROC