SaveStyleA
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 SaveStyle and string arguments are interpreted using the current SetAnsiMode code page
Saves the current text properties under a named style. This style can then be applied quickly with a single call to the ApplyStyle function. The properties that are saved include the font name, font size, text color, alignment, underline and highlight style, spacing and scaling.
Syntax
Delphi
Function DLSaveStyleA(InstanceID: Integer; StyleName: PAnsiChar): Integer;
DLL
int DLSaveStyleA(int InstanceID, const char * StyleName);
Parameters
| StyleName | The name to associate with the style. This name is case sensitive. |
|---|