Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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;}
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also