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


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

IColor.NullColor Property

Indicates whether this color is null.

[Visual Basic .NET]
Public Property NullColor As Boolean
[C#]
public bool NullColor {get; set;}
[C++]
HRESULT get_NullColor(
  VARIANT_BOOL* flag
);
[C++]
HRESULT put_NullColor(
  VARIANT_BOOL flag
);
[C++]

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

Product Availability

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

Description

Boolean indicator that specifies if the color will be Null or Transparent. The default for NullColor is False.

See Also

IColor Interface

.NET Samples

Create a custom default raster renderer (Code Files: RasterRendererMaker_1bit_TIFF_VBNET)