FreeImage.NET Class Library Reference
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
Exception | Condition |
---|---|
ArgumentNullException | palette is a null reference. |
ArgumentOutOfRangeException | offset is outside the range of valid indexes. |
See Also