TE Edit Control .NET Core / .NET Framework Help
Product page

TerSetStyleParam

Set the style parameters.

bool TerSetStyleParam(id, type, IntParam, TextParam, repaint)
int id;Style item id to set parameters.
int type;The parameter to set
SSINFO_NAME:New style name. Specify using the TextParam argument.
SSINFO_NEXTThe style id to be applied to the new line when the user hits Enter at the end of a line. Specify using the IntParam argument.
int IntParam;The value for the numeric type parameter. This value is ignored for the string type parameters.
LPBYTE TextParam;The value for the string type parameter. This value is ignored for the numeric type parameters.
bool repaint;True to repaint the screen after this operation.

Return Value: The function returns True when successful.