The following comments are supported for PDF files:
Value | Meaning |
---|---|
CMNT_SZARTIST | [0] Person who created the image. Corresponds to the Author key in Document Information dictionary. |
CMNT_SZSOFTWARE | [9] Name and version of software package used to create the PDF file. |
If you are using the nag version of LTKRN, this comment is fixed and cannot be changed. Corresponds to the Producer key in the Document Information dictionary. |
|
CMNT_SZTITLE | [175] Title of the image. |
CMNT_SUBJECT | [263] Subject of the document. This will sometimes have entries that are also in CMNT_KEYWORDS. |
CMNT_KEYWORDS | [264] Keywords, separated by comma or semicolon. Note that the space characters (if present), are part of the keyword. |
CMNT_CREATOR | [265] The name of the application that created the original file used as a source for the PDF file. |
CMNT_CREATIONDATE | [266] Date and time the file was originally created (YYYY-MM-DDTHH:MM:SS[+/-hh:mm]). |
CMNT_MODIFICATIONDATE | [267] Date and time of the last file modification (YYYY-MM-DDTHH:MM:SS[+/-hh:mm]). |
The PDF comments come from the Document Information Dictionary stored in the Info PDF object. The object is optional and there is only one such object per file. Therefore, all the pages in the PDF file will have the same comments.
The two date comments (CMNT_CREATIONDATE
and CMNT_MODIFICATIONDATE
) have an optional "+/-hh:mm" suffix indicating the local time zone. The suffix will either be +hh:mm
or -hh:mm
, depending on whether the local time is ahead or behind UTC. For example:
CMNT_CREATIONDATE
set to 2022-01-30T14:33:00-05:00. That is because EST is 5 hours behind UTC and the daylight savings time is not in effect in January.CMNT_CREATOR
and CMNT_SZSOFTWARE
seem a bit confusing because they both seem to represent the name of the software that created the PDF file. But they are slightly different. For example, if the PDF file was created by converting a DOCX file created in Microsoft Word, then:
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document