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


IGrayColor.Level Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IGrayColor.Level Property

The level of grayness of an IGrayColor (0=White - 255=Black).

[Visual Basic .NET]
Public Property Level As Integer
[C#]
public int Level {get; set;}
[C++]
HRESULT get_Level(
  long* outLevel
);
[C++]
HRESULT put_Level(
  long outLevel
);
[C++]

Parameters outLevel [out, retval] outLevel is a parameter of type long outLevel [in] outLevel is a parameter of type long

Product Availability

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

Description

Level is the amount of gray in an IGrayColor. 0 is white, 255 is black.

See Also

IGrayColor Interface