ArcGIS Pro 3.0 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 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 11, Windows 10, Windows 8.1

    See Also