SavePdfSettings
Syntax
interface SavePdfSettings {
author?: string;
compression?: EnumPDFCompressionType;
pageType?: EnumPDFPageType;
creator?: string;
creationDate?: string;
keyWords?: string;
modifiedDate?: string;
producer?: string;
subject?: string;
title?: string;
version?: string;
quality?: number;
}
Attributes
author
Specify the author.
compression
Specify the pdf compression type. Please refer to EnumPdfCompressionType.
Default value: PDF_AUTO
pageType
Specify the pdf page type. Please refer to EnumPdfPageType.
Default value: PAGE_DEFAULT
creator
Specify the creator.
creationDate
Specify the creation date.
Please note that the argument should be D:YYYYMMDDHHmmSS, like D:20230101085959.
keyWords
Specify the keywords.
modifiedDate
Specify the modified date.
Please note that the argument should be D:YYYYMMDDHHmmSS, like D:20230101085959.
producer
Specify the producer.
subject
Specify the subject.
title
Specify the title.
version
Specify the PDF version. For example, 1.5. The allowed values are 1.1 ~ 1.7.
If the [compression] is set to PDF_JBig2, the lowest version is 1.4.
If the [compression] is set to PDF_JP2000, the lowest version is 1.5
quality
Specify the quality of the images in the file.
The value range is [0, 100], default value is 80.
Only takes effect when the compression is set to PDF_JPEG or PDF_JP2000.