THPDFCollectionFieldSubtype Type
Selects the data subtype written to a portfolio collection schema field
Declaration
THPDFCollectionFieldSubtype= (cfsText, cfsDate, cfsNumber,
cfsFileName, cfsDescription, cfsModDate, cfsCreationDate, cfsSize);
Unit
HPDFDoc
Values
| Value | Meaning |
|---|---|
cfsText | /Subtype S: the field value is a text string |
cfsDate | /Subtype D: the field value is a date |
cfsNumber | /Subtype N: the field value is a number |
cfsFileName | /Subtype F: the field value is a file name |
cfsDescription | /Subtype Desc: the field value is a description string |
cfsModDate | /Subtype ModDate: the field value is a modification date |
cfsCreationDate | /Subtype CreationDate: the field value is a creation date |
cfsSize | /Subtype Size: the field value is a file size |
Usage notes
- Pass a value of this type to THotPDF.AddPortfolioSchemaField; the library maps it to the PDF /Subtype name (S, D, N, F, Desc, ModDate, CreationDate, Size) of the schema field
- The same mapping is used in reverse when loaded portfolio documents are inspected, so schema field info records report the subtype actually stored in the file
- Unrecognized /Subtype names in loaded documents fall back to cfsText