ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / RasterImageryOptions Class / GetMaximumUniqueValues Method

In This Topic
    GetMaximumUniqueValues Method
    In This Topic
    Gets the maximum number of values to display. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public int GetMaximumUniqueValues()
    Public Function GetMaximumUniqueValues() As Integer
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    The maximum number of values to display is set to 65,536 by default. This is the maximum number of values you can get with 16-bit data. Increasing this number allows you to work with datasets that have a greater bit depth without scaling them down to 16 bit; however, this increases computational effort and lowers performance.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also