RemoveStyle

Text

Description

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

ActiveX

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

DLL

int DLRemoveStyle(int InstanceID, wchar_t * 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