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


ILegend3.AutoFit Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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