THotPDF.Subject Property
HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THotPDF.Subject

THotPDF

 

Top  Previous  Next

Determines information about the subject of the document.

 

Delphi syntax:

property Subject: AnsiString;

 

C++ syntax:

__property AnsiString Subject;

 

Description

A PDF document may include general information such as the document's title, author, and subject. This information is intended to assist in cataloguing and searching for documents in external databases.

 

Code Example

HPDF.Title := 'HotPDF Library Manual';
HPDF.Author := 'LosLab Software Developer';
HPDF.Subject := 'PDF generation component';
HPDF.Keywords := 'PDF, library, component, Delphi';
HPDF.ShowInfo := true;  // Show document properties in PDF viewer

 

See also: Author, Keywords, ShowInfo, Title

 

Copyright©2007-2025 losLab.com