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


ILegend.AutoVisibility Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILegend.AutoVisibility Property

Indicates if items should be shown only when associated layers are visible.

[Visual Basic .NET]
Public Property AutoVisibility As Boolean
[C#]
public bool AutoVisibility {get; set;}
[C++]
HRESULT get_AutoVisibility(
  VARIANT_BOOL* AutoVisibility
);
[C++]
HRESULT put_AutoVisibility(
  VARIANT_BOOL AutoVisibility
);
[C++]

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

Product Availability

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

See Also

ILegend Interface