RemoveStyleA

Text

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to RemoveStyle and string arguments are interpreted using the current SetAnsiMode code page

Removes a style that was previously saved using the SaveStyle function. The style name is case sensitive, it must exactly match the style name used with the SaveStyle function.

Syntax

Delphi

Function DLRemoveStyleA(InstanceID: Integer; StyleName: PAnsiChar): Integer;

DLL

int DLRemoveStyleA(int InstanceID, const char * StyleName);

Parameters

StyleNameThe name to associate with the style. This name is case sensitive.

Return values

0The specified StyleName could not be found The style was removed successfully
1