Hide Comments
Hide Comments

Comments (0)

Returns the width and height, in pixels, of a string rendered in the current font.

Provides information about the space a string will occupy in the image. Other elements in the image such as lines, boxes, or additional lines of text can be positioned to accommodate the size of the text. TextExtent returns the width and height of the rectangle that bounds the text on the canvas.

Both the TextHeight and TextWidth methods call TextExtent to obtain the height and width information.
 

Namespace: RSGdiPlusGraphics

expandingSyntax

Parameters

Text

Type: string

Return Value

Type: TSize

expandingSee Also

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2016, Thomas G. Grubb