Copies the values from the specified Palette to this instance, starting at the specified offset.

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

Syntax

C#
public void CopyFrom(
	Palette palette,
	int offset
)
Visual Basic (Declaration)
Public Sub CopyFrom ( _
	palette As Palette, _
	offset As Integer _
)
Visual C++
public:
void CopyFrom(
	Palette^ palette, 
	int offset
)

Parameters

palette
Type: FreeImageAPI..::.Palette
The palette to copy from.
offset
Type: System..::.Int32
The position in this instance where the values will be copied to.

Exceptions

ExceptionCondition
System..::.ArgumentNullException palette is a null reference.
System..::.ArgumentOutOfRangeException offset is outside the range of valid indexes.

Version Information

FreeImage.NET

Supported in: 3.12.0, 3.13.0, 3.13.1

See Also