Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclCommon > RSGraphics > Routines

WrapCanvasText(TCanvas,string,string,TSysCharSet,TRSGfxFloat) Method

Scroll Prev Top Next More

Draws multi-line text string to canvas, wrapping the text based on the delimiters specifed by BreakChars. The MaxWidth specifies the maximum width of each line.

Namespace: RSGraphics

Parameters

Canvas

Type: TCanvas

Canvas to draw on

Text

Type: string

Multi-line text to draw

BreakStr

Type: string

String to replace end of line with

BreakChars

Type: TSysCharSet

Delimiters that specifies word boundaries

MaxWidth

Type: System.Void

Maximum width of each line

Return Value

Type: String

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb