ApplyStyle
Text, Page layout
Description
Applies 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.ApplyStyle(Const StyleName: WideString): Integer;ActiveX
Function PDFlib::ApplyStyle(StyleName As String) As LongDLL
int DLApplyStyle(int InstanceID, wchar_t * StyleName);Parameters
| StyleName | The name to associate with the style. This name is case sensitive. |
|---|
Return values
| 0 | The specified StyleName could not be found The style was applied successfully |
|---|---|
| 1 |