ESRI.ArcGIS.ADF.IMS
Height Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Legend Class : Height Property




Gets or sets the height of the Legend image.

Syntax

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

Example

For an example, see the Legend overview.

Remarks

Sets the height of the image in pixels. If the height is insufficient to draw all legend entries, the legend may be cut off. To automatically increase the height of the legend to accommodate all entries, set AutoSize to true. This will automatically extend the legend to the height of all entries.

Default is 300 pixels.

Does not apply to ArcMap Server image services.

See Also

© 2010 All Rights Reserved.