You are here: Symbol Reference > _AbProc Namespace > Functions > AbGetMaxTokenSize2 Function
ContentsIndexHome
PreviousUpNext
_AbProc.AbGetMaxTokenSize2 Function
Send Feedback

Calculates the max size of a token

File
Pascal
procedure AbGetMaxTokenSize2(can: TCanvas; var b: Integer; var h: Integer; Text: string; Separator: Char);
C++
AbGetMaxTokenSize2(TCanvas can, int b, int h, AnsiString Text, Char Separator);
Parameters
Parameters 
Description 
can: TCanvas 
canvas 
var b: Integer 
returns width in pixel 
var h: Integer 
returns height in pixel 
Text: string 
the string with tokens to calculate the size 
Returns

The maximal size of a token in pixel

Description

Separates the tokens by delimiter "Separator" and calculates the maximal size of a token in pixel

Hard-& Software A.Baecker
What do you think about this topic? Send feedback!