ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearChannelStatistics Structure / Max Property




In This Topic
    Max Property
    In This Topic
    Gets or sets a 32-bit integer, representing max value of the channel.
    Syntax
    'Declaration
     
    Public Property Max As Integer
    'Usage
     
    Dim instance As ImGearChannelStatistics
    Dim value As Integer
     
    instance.Max = value
     
    value = instance.Max
    public int Max {get; set;}
    public: __property int get_Max();
    public: __property void set_Max( 
       int value
    );
    public:
    property int Max {
       int get();
       void set (    int value);
    }

    Property Value

    32-bit Integer number.
    Remarks
    This property represents the 32-bit integer maximum value of the image channel. Internal value is stored as a 64-bit integer. If the stored number exceeds the 32-bit integer range, an attempt to get the Max property throws ImageGear.Core.ImGearErrorCodes.PARAMETER_HAS_INVALID_VALUE exception.

    Use Max64 property if you are working with 32-bit per channel images.

    See Also