Copies the values from the specified Palette to this instance,
starting at the specified offset.
Namespace:
FreeImageAPIAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | palette is a null reference. |
| System..::.ArgumentOutOfRangeException | offset is outside the range of valid indexes. |