Palette.CopyFrom Method (Palette, Int32)

FreeImage.NET

PaletteCopyFrom Method (Palette, Int32)
Copies the values from the specified Palette to this instance, starting at the specified offset.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public void CopyFrom(
	Palette palette,
	int offset
)

Parameters

palette
Type: FreeImageAPIPalette
The palette to copy from.
offset
Type: SystemInt32
The position in this instance where the values will be copied to.
Exceptions
ExceptionCondition
ArgumentNullExceptionpalette is a null reference.
ArgumentOutOfRangeExceptionoffset is outside the range of valid indexes.
See Also