UNPKG

asposewordscloud

Version:
30 lines (29 loc) 1.04 kB
import { AttributeInfo } from '../internal/attributeInfo'; import { ModelInterface } from './modelInterface'; export declare const importsMapCompressOptions: {}; /** * Options of document compress. */ export declare class CompressOptions implements ModelInterface { /** * Attribute type map */ static attributeTypeMap: Array<AttributeInfo>; /** * Returns attribute type map */ static getAttributeTypeMap(): AttributeInfo[]; /** * Gets or sets the quality level of images from 0 to 100. Default value is 75. */ imagesQuality: number; /** * Gets or sets the resize factor of images. * This value determines how many times the size of the images in the document will be reduced. * The parameter value must be greater than 1 for resizing. Default value is 1 and has no effect on images size. */ imagesReduceSizeFactor: number; constructor(init?: Partial<CompressOptions>); collectFilesContent(_resultFilesContent: Array<any>): void; validate(): void; }