THotPDF.SetLoadedDocumentInfo Method

Modifies the value of the specified key in the information dictionary of the loaded PDF document

Declaration

function SetLoadedDocumentInfo(const AKey, AValue: AnsiString): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
AKey信息字典键名,如 TitleAuthorSubjectKeywords 等标准键或自定义键
AValueThe new value string to write to this key

Return value

若成功更新信息字典中的指定键值则返回 True,否则返回 False

Usage notes

Related APIs