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



Gets or sets a value that specifies the default dithering method to use when converting an image from 64, 48, 32, 24, or 16 bits per pixel to 8 bits per pixel or fewer. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Shared Property DitheringMethod As RasterDitheringMethod
Visual Basic (Usage)Copy Code
Dim value As RasterDitheringMethod
 
RasterDefaults.DitheringMethod = value
 
value = RasterDefaults.DitheringMethod
C# 
public static RasterDitheringMethod DitheringMethod {get; set;}
C++/CLI 
public:
static property RasterDitheringMethod DitheringMethod {
   RasterDitheringMethod get();
   void set (    RasterDitheringMethod value);
}

Property Value

A RasterDitheringMethod enumeration value that specifies the default dithering method to use when converting an image from 64, 48, 32, 24, or 16 bits per pixel to 8 bits per pixel or fewer.

Example

For an example, refer to RasterDefaults.

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