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



Gets or sets the dithering options used when converted the image. Supported in Silverlight, Windows Phone 7

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);
}

Property 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also