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

TerEnableTracking

Enable tracking of document modification.

bool TerEnableTracking(enable, name, UseDefaultClrStyle, InsStyle, InsColor, DelStyle, DelColor)
bool enable;Set to TRUE to enable tracking. Set to false to disable tracking.
String name;The reviewer name. Set to "" to assume currently logged user name.
bool UseDefaultClrStyle;Use the default value for color and style for the deleted and inserted text. When this parameter is set to TRUE, the following color and style parameters are ignored.
int InsStyle;

The style to apply to the newly inserted text. Please refer to the SetTerCharStyle function for the list of available character style.

This parameter is ignored if the UseDefaultClrStyle parameter is set to TRUE.

Color InsColor;

The color to apply to the newly inserted text.

This parameter is ignored if the UseDefaultClrStyle parameter is set to TRUE.

int InsStyle;

The style to apply to the deleted text. Please refer to the SetTerCharStyle function for the list of available character style.

This parameter is ignored if the UseDefaultClrStyle parameter is set to TRUE.

int InsColor;

The color to apply to the deleted text.

This parameter is ignored if the UseDefaultClrStyle parameter is set to TRUE.

Comment: The ID_TRACK_CHANGES id can also be used with the TerCommand method or the Command property to enable/disable tracking of modification.

Return Value: This function returns TRUE when successful.