Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
OptimizedPalette Property
See Also 
Leadtools.Codecs Namespace > CodecsOptions.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 CodecsOptions.CodecsSaveOptions
Dim value As Boolean
 
instance.OptimizedPalette = value
 
value = instance.OptimizedPalette
C# 
public bool OptimizedPalette {get; set;}
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; otherwise false.

Example

For an example, refer to Save.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also