Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPCanvas > Methods

TRSGPCanvas.FillText(TRectF,string,TRSGPStringFormat,TRSGPFont,Single) Method

Scroll Prev Top Next More

Displays a text string on a specified rectangle area of the current canvas.

FillText draws a text string using the specified String format and the specified font. The text is displayed in a specified rectangle area of the current canvas.

The StringFormat object specifies text layout information (such as alignment, orientation, tab stops, and clipping) and display manipulations (such as trimming, font substitution for characters that are not supported by the requested font, and digit substitution for languages that do not use Western European digits).
 

Namespace: RSGdiPlusGraphics

Parameters

ARect

Type: TRectF

Rectangle area where the text is displayed.
 

AText

Type: string

Text to display.
 

StringFormat

Type: TRSGPStringFormat

Text layout information

Font

Type: TRSGPFont

Font to draw text in

AOpacity

Type: Single

Transparency of the Fill color. AOpacity takes values between 0 and 1. If AOpacity is 1, the text is completely opaque; if it is 0, the text is completely transparent. The values over 1 are treated as 1, and the ones under 0 are treated as 0.
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb