TerDeleteStyle
Delete a stylesheet item.
boolean TerDeleteStyle( StyleId, name)
int StyleId; | Style id to delete. Please note that the default style ids 0 and 1 can not be deleted. Set this parameter to -1 to specify the name of the style item to delete. |
String name; | Name of style item to delete. This parameter is ignored when StyleId is non-zero. Any paragraph or font id referring the style id being deleted are modified to refer to the default style ids instead. |
Return Value: This function returns true if successful.