ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Formats Namespace / ImGearControlParameter Class / Value Property




In This Topic
    Value Property (ImGearControlParameter)
    In This Topic
    Gets or sets current value of the parameter.
    Syntax
    'Declaration
     
    Public Property Value As Object
    'Usage
     
    Dim instance As ImGearControlParameter
    Dim value As Object
     
    instance.Value = value
     
    value = instance.Value
    public object Value {get; set;}
    public: __property Object* get_Value();
    public: __property void set_Value( 
       Object* value
    );
    public:
    property Object^ Value {
       Object^ get();
       void set (    Object^ value);
    }

    Property Value

    Object containing parameter's value.
    Exceptions
    ExceptionDescription
    Thrown if the value is set to null.
    Thrown if the value is set to an object of a type incompatible for the specified control parameter.
    Remarks
    When setting this property, please make sure that the type of the object representing a new value is the same as that of the old value. Otherwise an exception will be thrown.
    See Also