This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegend2 Interface > ILegend2.AutoVisibility Property (ArcObjects .NET 10.5 SDK) |
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