Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
OptimizedPalette Property
See Also 
Leadtools.Codecs Namespace > CodecsSaveOptions Class : OptimizedPalette Property




Enables or disables saving the file using an optimized palette.

Syntax

Visual Basic (Declaration) 
Public Property OptimizedPalette As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsSaveOptions
Dim value As Boolean
 
instance.OptimizedPalette = value
 
value = instance.OptimizedPalette
C# 
public bool OptimizedPalette {get; set;}
Managed Extensions for C++ 
public: __property bool get_OptimizedPalette();
public: __property void set_OptimizedPalette( 
   bool value
);
C++/CLI 
public:
property bool OptimizedPalette {
   bool get();
   void set (bool value);
}

Return Value

true to force the image to be saved using an optimized palette.

Example

For an example, refer to CodecsOptions.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also