asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
35 lines (34 loc) • 1.34 kB
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { ModelInterface } from './modelInterface';
export declare const importsMapDownsampleOptionsData: {};
/**
* Container class for Downsample options.
*/
export declare class DownsampleOptionsData implements ModelInterface {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* Gets or sets a value indicating whether images should be downsampled.
* The default value is true.
*/
downsampleImages: boolean;
/**
* Gets or sets the resolution in pixels per inch which the images should be downsampled to.
* The default value is 220 ppi.
*/
resolution: number;
/**
* Gets or sets the threshold resolution in pixels per inch. If resolution of an image in the document is less than threshold value, the downsampling algorithm will not be applied. A value of 0 means the threshold check is not used and all images that can be reduced in size are downsampled.
* The default value is 0.
*/
resolutionThreshold: number;
constructor(init?: Partial<DownsampleOptionsData>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}