SetHeaderCommentsFromString

Document properties

Description

Allows a binary string to be added between the file header and first objects. The string should start with a % character to indicate that it is a comment.

Syntax

Delphi

function TPDFlib.SetHeaderCommentsFromString(Const Source: AnsiString): Integer;

ActiveX

Function PDFlib::SetHeaderCommentsFromString(Source As String) As Long

DLL

int DLSetHeaderCommentsFromString(int InstanceID, char * Source);

Parameters

SourceThe new comments

Return values

0The header comments could not be set
1Success