Initializes a new instance for the given FITAG that contains
a palette.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public Palette( FITAG tag ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ tag As FITAG _ ) |
| Visual C++ |
|---|
public: Palette( FITAG tag ) |
Parameters
- tag
- Type: FreeImageAPI..::.FITAG
The tag containing the palette.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | tag is null. |
| System..::.ArgumentException | tag is not FIDT_PALETTE. |