THotPDF.DAReplaceObjectSource Method

在直接访问模式下替换特定对象的源代码。

声明

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

单元

HPDFDoc

参数

名称用途
FileHandle打开文件的句柄索引。
ObjectNumber要替换的对象的编号。
ObjectSource新的对象源代码字符串。

返回值

返回操作状态代码,成功返回有效数值。

使用说明

相关 API