ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearLinearLUT Class / Item Property / Item(Int32) Property
Index of the LUT to get.




In This Topic
    Item(Int32) Property
    In This Topic
    Gets or sets LUT output value corresponding to Int32 input value.
    Syntax
    'Declaration
     
    Public Overloads Overrides Property Item( _
       ByVal index As Integer _
    ) As Integer
    'Usage
     
    Dim instance As ImGearLinearLUT
    Dim index As Integer
    Dim value As Integer
     
    instance.Item(index) = value
     
    value = instance.Item(index)
    public override int Item( 
       int index
    ) {get; set;}
    public: __property int get_Item( 
       int index
    ) override;
    public: __property void set_Item( 
       int index,
       int value
    ) override;
    public:
    property int Item {
       int get(int index) override;
       void set (int indexint value) override;
    }

    Parameters

    index
    Index of the LUT to get.

    Property Value

    Integer value.
    Remarks
    LUT output value the formula is: result = input_value * Slope + Intercept + 0.5.

    Set accessor throws exception, because such operation is invalid for this type of LUT.

    See Also