THotPDF.SetLoadedKeywords Method
Sets the Keywords field in the information dictionary of the loaded PDF document to update the document's keyword metadata
Declaration
procedure SetLoadedKeywords(const AKeywords: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
AKeywords | The keyword string to write to the Keywords entry in the document information dictionary; multiple keywords are usually separated by spaces or commas |
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
- This method directly overwrites the existing Keywords value; if you need to append keywords, you should read the original value first, concatenate them, and then pass it in
- The save method must be called after modification, otherwise changes are only kept in memory and will be lost upon program exit