ESRI.ArcGIS.ADF.IMS
LabelBufferRatio Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Display.Renderer Namespace > LabelRenderer Class : LabelBufferRatio Property




Gets or sets a buffer around the label in which no other labels can overlap.

Syntax

Visual Basic (Declaration) 
Public Property LabelBufferRatio As Double
Visual Basic (Usage)Copy Code
Dim instance As LabelRenderer
Dim value As Double
 
instance.LabelBufferRatio = value
 
value = instance.LabelBufferRatio
C# 
public double LabelBufferRatio {get; set;}

Example

For an example of using this property, see the SimpleLabelRenderer overview.

Remarks

Sets a buffer around the label. When this is set, no labels overlap within the buffer range. The ratio is the fraction of the height or the width of the label rectangle (whichever is smaller) compared to the width of the buffer. A ratio of "0.0" means no buffer. A ratio of "1.0" means that the buffer is twice the size of the label (the label width equals the buffer width). A negative ratio causes the buffer to be smaller than the label. This can be used to allow labels to overlap.

Default is 0.0.

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.