Sets the values at the specified position.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public void SetValues(
	T[] values,
	int index
)
Visual Basic (Declaration)
Public Sub SetValues ( _
	values As T(), _
	index As Integer _
)
Visual C++
public:
void SetValues(
	array<T>^ values, 
	int index
)

Parameters

values
Type: array< T >[]()[]
An array containing the new values for the specified elements.
index
Type: System..::.Int32
A 32-bit integer that represents the position of the array elements to set.

Exceptions

ExceptionCondition
System..::.ArgumentNullException values is a null reference (Nothing in Visual Basic).
System..::.ArgumentOutOfRangeException index is outside the range of valid indexes for the unmanaged array or values.Length is greater than the number of elements from index to the end of the array.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also