TE Edit Control Java / HTML-JavaScript Help
Product page

TerGetStyleParam

Get the style parameters.

int TerGetStyleParam(id, type)
int id;Style item id to retrieve parameters.
int type;The parameter to retrieve:
SSINFO_CHAR_SPACE:Return the additional character spacing value in twips. The negative value indicates the compression of character spacing in twips unit.
SSINFO_CHAR_OFFSETReturn the character offset (twips) from the baseline.
SSINFO_NEXTReturns next style id to be applied when the user hits Enter at the end of a line.

Return Value: The function returns the value for the requested parameter. It returns -1 to indicate an error condition.