ESRI.ArcGIS.ADF.IMS
AutoSize Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Legend Class : AutoSize Property




Gets or sets a value that allows automatically extending the legend vertically past the size specified in height, if needed.

Syntax

Visual Basic (Declaration) 
Public Property AutoSize As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Legend
Dim value As Boolean
 
instance.AutoSize = value
 
value = instance.AutoSize
C# 
public bool AutoSize {get; set;}

Example

For an example, see the Legend overview.

Remarks

If set to true, the legend is automatically extended beyond the Height value, if necessary, to accommodate all legend entries.

Default is false. Note that legend entries may be cut off if the Height does not accommodate all entries.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.