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;

DLL

int DLSetHeaderCommentsFromString(int InstanceID, const char * Source);

Parameters

SourceThe new comments

Return values

0The header comments could not be set
1Success