GetSymbolMaxLength 

1.0     2.0     

Returns the length of the longest symbol string contained in a symbol graph SYG1AOCY..

int GetSymbolMaxLength( LPSYG lpsyg )

Parameters

lpsyg

Address of the symbol graph.

Return Value

Returns the number of symbols in the longest symbol string that can be generated from the symbol graph, or -1 if there is a parameter error.

Example

For example, if the symbol graph pointed to by lpsyg is

ab { c | de} f

 

GetSymbolMaxLength returns 5 because the longest string is  abdef .

See Also

EnumSymbols, FirstSymbolFromGraph, SYG