Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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;}
Managed Extensions for C++ 
public: __property static RasterDitheringMethod get_DitheringMethod();
public: __property static void set_DitheringMethod( 
   RasterDitheringMethod value
);
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 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