![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
LabelBufferRatio Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Display.Renderer Namespace > LabelRenderer Class : LabelBufferRatio Property |
Visual Basic (Declaration) | |
---|---|
Public Property LabelBufferRatio As Double |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As LabelRenderer Dim value As Double instance.LabelBufferRatio = value value = instance.LabelBufferRatio |
C# | |
---|---|
public double LabelBufferRatio {get; set;} |
For an example of using this property, see the SimpleLabelRenderer overview.
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.
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