Returns an index of transparent palette entry.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public ReadOnly Property ColorKeyIndex As Integer
public int ColorKeyIndex { get; }
This value is read from GIF file rather than obtained from the bitmap. It means that if you modify the bitmap with SetBitmap(Bitmap) method, it will still return the value stored in the file this frame is associated with. Therefore this property has limited usage.
This property is not used when you pass this frame into GifWriter. Instead of that writer analyzes the palette of the image stored in this frame and initalizes this value in the result GIF file with it.