ArcGIS Pro 2.7 API Reference Guide
SetCompressionType Method

ArcGIS.Core.Data.Raster Namespace > RasterStorageDef Class : SetCompressionType Method
The RasterCompressionType to set.
Sets the RasterCompressionType of the raster to be stored on this raster storage definition. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetCompressionType( 
   RasterCompressionType compression
)
Public Sub SetCompressionType( _
   ByVal compression As RasterCompressionType _
) 

Parameters

compression
The RasterCompressionType to set.
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