Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
DitheringMethod Property
See Also 
Leadtools.ImageProcessing Namespace > ColorResolutionCommand Class : DitheringMethod Property




Gets or sets the dithering options used when converted the image.

Syntax

Visual Basic (Declaration) 
Public Property DitheringMethod As RasterDitheringMethod
Visual Basic (Usage)Copy Code
Dim instance As ColorResolutionCommand
Dim value As RasterDitheringMethod
 
instance.DitheringMethod = value
 
value = instance.DitheringMethod
C# 
public RasterDitheringMethod DitheringMethod {get; set;}
Managed Extensions for C++ 
public: __property RasterDitheringMethod get_DitheringMethod();
public: __property void set_DitheringMethod( 
   RasterDitheringMethod value
);
C++/CLI 
public:
property RasterDitheringMethod DitheringMethod {
   RasterDitheringMethod get();
   void set (RasterDitheringMethod value);
}

Return Value

The dithering option used when converted the image.

Example

For an example, refer to ColorResolutionCommand

Remarks

The dithering method is useful only when the resulting image requires a palette (when it is 8 bits per pixel or less).

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