ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / RasterStorageDef Class / GetCompressionType Method

In This Topic
    GetCompressionType Method (RasterStorageDef)
    In This Topic
    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 Function GetCompressionType() As RasterCompressionType
    public RasterCompressionType GetCompressionType()

    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 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also