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