THotPDF.DAReplaceObjectSource Method

Replaces the source code of a specific object in direct access mode.

Declaration

function DAReplaceObjectSource(FileHandle: Integer; ObjectNumber: Integer; const ObjectSource: AnsiString): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
FileHandleHandle index of the open file
ObjectNumberNumber of the object to replace
ObjectSourceNew source string for the object

Return values

Returns the operation status code, returns a valid numerical value upon success.

Usage

See also