SaveStyle

Text

Description

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 TPDFlib.SaveStyle(Const StyleName: WideString): Integer;

ActiveX

Function PDFlib::SaveStyle(StyleName As String) As Long

DLL

int DLSaveStyle(int InstanceID, wchar_t * StyleName);

Parameters

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