SaveStyleA

Text

Description

O sufixo A indica o ponto de entrada ANSI (char) da DLL; a superfície ActiveX/COM expõe apenas a forma Unicode. O comportamento é idêntico ao de SaveStyle e os argumentos de cadeia de caracteres são interpretados com base na página de código atual definida por SetAnsiMode

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

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