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


ILegend3.AutoFit Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegend3 Interface > ILegend3.AutoFit Property
ArcGIS Developer Help

ILegend3.AutoFit Property

Automatically resize legend items to fit fixed frame.

[Visual Basic .NET]
Public Property AutoFit As Boolean
[C#]
public bool AutoFit {get; set;}
[C++]
HRESULT get_AutoFit(
  Boolean* flag
);
[C++]
HRESULT put_AutoFit(
  VARIANT_BOOL flag
);
[C++]
Parameters
flag [out, retval]

flag is a parameter of type bool* flag [in]
flag is a parameter of type bool

Product Availability

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

See Also

ILegend3 Interface