ESRI.ArcGIS.ADF.IMS
AutoSize Property
See Also 
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.

See Also

© 2010 All Rights Reserved.