Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.

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

Return Value

An 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also