THotPDF.SetLoadedAuthor Method
Sets the Author field in the information dictionary of the loaded PDF document, replacing the original author metadata with the specified string
Declaration
procedure SetLoadedAuthor(const AAuthor: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
AAuthor | The author name string to write to the Author entry in the document information dictionary |
Usage notes
This member returns no value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field or catalogue object is finalised
- Passing an empty string clears the Author field but does not remove the key from the information dictionary; use RemoveLoadedInfoKey to remove it
- Changes are only kept in the in-memory structure; call the save method once all metadata edits are complete