ImageMan.Net Version 3 Summer 2012 Release
GlobalPalette Property
See Also  Send Feedback
DTI.ImageMan.Codecs Namespace > GifEncoder Class : GlobalPalette Property

Glossary Item Box

Gets or sets the global palette which can be used by more than one frame in a multiple page image.


Visual Basic (Declaration) 
Public Property GlobalPalette As ImPalette
Visual Basic (Usage)Copy Code
Dim instance As GifEncoder
Dim value As ImPalette
instance.GlobalPalette = value
value = instance.GlobalPalette
public ImPalette GlobalPalette {get; set;}
public function get,set GlobalPalette : ImPalette
Managed Extensions for C++ 
public: __property ImPalette* get_GlobalPalette();
public: __property void set_GlobalPalette( 
   ImPalette* value
property ImPalette^ GlobalPalette {
   ImPalette^ get();
   void set (    ImPalette^ value);


When a global palette is used it can make the entire image file smaller. Optionally any individual frame of a multiple page image can have it's own palette as well. If a Local Palette is used the global palette will be ignored.


Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.