This document is archived and information here might be outdated.  Recommended version.


IColor.UseWindowsDithering Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IColor.UseWindowsDithering Property

Indicates if colors should be dithered to simulate colors that aren't supported by the display. This only applies on displays that have 256 or fewer colors.

[Visual Basic .NET]
Public Property UseWindowsDithering As Boolean
[C#]
public bool UseWindowsDithering {get; set;}
[C++]
HRESULT get_UseWindowsDithering(
  VARIANT_BOOL* useDithering
);
[C++]
HRESULT put_UseWindowsDithering(
  VARIANT_BOOL useDithering
);
[C++]

Parameters useDithering [out, retval] useDithering is a parameter of type VARIANT_BOOL useDithering [in] useDithering is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Set UseWindowsDithering to TRUE to match the returned value from VB's RGB() function.

See Also

IColor Interface