ArcGIS Pro 2.8 API Reference Guide
GetCompressionType Method (RasterStorageDef)

ArcGIS.Core.Data.Raster Namespace > RasterStorageDef Class : GetCompressionType Method
Gets the RasterCompressionType of the raster to be stored from this raster storage definition. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public RasterCompressionType GetCompressionType()
Public Function GetCompressionType() As RasterCompressionType

Return Value

A RasterCompressionType representing the compression type of the raster to be stored from this raster storage definition.
Remarks
The compression type property specifies the compression method to be used to compress the raster data to be stored. LZ77 (lossless) and JPEG (lossy), and JPEG 2000 compression types are supported. By default, the compression type is set to LZ77.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

RasterStorageDef Class
RasterStorageDef Members