Schema field can be used to decide which information of a node is to be shown or hide in application.
string foxit.pdf.SchemaField.GetSubtypeName |
( |
| ) |
|
|
inline |
Get the subtype name string.
Subtype name can be used to specify some properties of file node and folder node directly:
-
"F", means the file name of an embedded file or name of a folder node.
-
"Desc", means the description of an embedded file or descrpition of a folder node.
-
"ModDate", means the modification date of the embedded file or descrpition of a folder node.
-
"CreationDate", means the creation date of the embedded file or descrpition of a folder node.
-
"Size", means the uncompressed size of the embedded file; a folder node does not have size.
-
"CompressedSize", means the compressed size of the embedded file; a folder node does not have compressed size.
For other case, subtype name is used to specified the data type of an specified entry in file or folder node dictionary. The key for the entry is specified by current schema field's key name. and the data type is specified by:
-
"S", means the field data shall be stored as a PDF text string.
-
"D", means the field data shall be stored as a PDF date string.
-
"N", means the field data shall be stored as a PDF number.
- Returns
- Subtype name string.
void foxit.pdf.SchemaField.SetSubtypeName |
( |
string |
subtype_name | ) |
|
|
inline |
Set the subtype name string.
Subtype name can be used to specify some properties of file node and folder node directly:
-
"F", means the file name of an embedded file or name of a folder node.
-
"Desc", means the description of an embedded file or descrpition of a folder node.
-
"ModDate", means the modification date of the embedded file or descrpition of a folder node.
-
"CreationDate", means the creation date of the embedded file or descrpition of a folder node.
-
"Size", means the uncompressed size of the embedded file; a folder node does not have size.
-
"CompressedSize", means the compressed size of the embedded file; a folder node does not have compressed size.
For other case, subtype name is used to specified the data type of an specified entry in file or folder node dictionary. The key for the entry is specified by current schema field's key name. and the data type is specified by:
-
"S", means the field data shall be stored as a PDF text string.
-
"D", means the field data shall be stored as a PDF date string.
-
"N", means the field data shall be stored as a PDF number.
- Parameters
-
[in] | subtype_name | Subtype name string. This should not be an empty string. Please refer to "Details" part for more information. |
- Returns
- None.