ImageGear .NET - Updated
ColorMap Property




ImageGear24.Formats.SimplifiedMetadata Assembly > ImageGear.Formats.TIF Namespace > ImGearTIFFMetadata Class : ColorMap Property
Gets or sets ColorMap tag value.
Syntax
'Declaration
 
Public Property ColorMap As UShort()
'Usage
 
Dim instance As ImGearTIFFMetadata
Dim value() As UShort
 
instance.ColorMap = value
 
value = instance.ColorMap
public ushort[] ColorMap {get; set;}
public: __property ushort[]* get_ColorMap();
public: __property void set_ColorMap( 
   ushort[]* value
);
public:
property array<ushort>^ ColorMap {
   array<ushort>^ get();
   void set (    array<ushort>^ value);
}

Property Value

Ushort array.
Remarks
This property accesses the ColorMap tag. The tag specifies a color map for palette color images.

Get accessor returns the tag value if the tag is present in the metadata tree, or null otherwise.

Set accessor replaces the current tag value if the tag is present in the metadata tree, adds the tag if it was not present, or deletes the tag if a null value is passed.

ImageGear ignores the value of this tag during image saving, and saves a value that corresponds to the saved image DIB's parameters.

See the TIFF 6.0 specification for tag usage details.

See Also

Reference

ImGearTIFFMetadata Class
ImGearTIFFMetadata Members