THotPDF.SetLoadedSubject Method
Sets the Subject field in the information dictionary of the loaded PDF document in order to update the document's subject metadata
Declaration
procedure SetLoadedSubject(const ASubject: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ASubject | The subject description string to write to the Subject 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
- The Subject field is an optional entry in the PDF information dictionary; some older readers may not display this field's content
- The save method must be called after modification, otherwise the changes only exist in memory and will be lost after the object is freed