ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Objects > IGPage Object > IGPage Properties > Compression Property |
Gets and sets the type of compression used to store this page in a multi-page document file. The associated property CompressionUsed Property indicates whether or not this property should be used when writing pages using document update and save methods. These two properties are set by document reading methods such as LoadDocument Method and ReadPagesToDocument Method so that pages can later be saved using their original compression types. In addition, the application can set these properties.
When a document is updated using the UpdateDocument Method, pages whose CompressionUsed Property is set to True will be saved using the compression type specified by the Compression property. When using a document saving method such as SaveDocument Method, the UsePageCompressions property of the IGSaveOptions Object passed to the method must also be True.
Read-write property
enumIGCompressions Enumeration
Default Value: IG_COMPRESSION_NONE
Valid Values: Any value of enumIGCompressions Enumeration
All