Spread Windows Forms 6.0 Product Documentation
GetLabelAreaRectangle Method
See Also  Support Options
FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > Chart2DRenderer Class : GetLabelAreaRectangle Method


g
Graphics context.
chartRectangle
Rectangle of chart.
chartModel
Chart model.
labelAreaIndex
Index of label area in chart model.

Glossary Item Box

Gets the rectangle of the label area.

Syntax

Visual Basic (Declaration) 
Public Function GetLabelAreaRectangle( _
   ByVal g As Graphics, _
   ByVal chartRectangle As RectangleF, _
   ByVal chartModel As ChartModel, _
   ByVal labelAreaIndex As Integer _
) As RectangleF
Visual Basic (Usage)Copy Code
Dim instance As Chart2DRenderer
Dim g As Graphics
Dim chartRectangle As RectangleF
Dim chartModel As ChartModel
Dim labelAreaIndex As Integer
Dim value As RectangleF
 
value = instance.GetLabelAreaRectangle(g, chartRectangle, chartModel, labelAreaIndex)
C# 
public RectangleF GetLabelAreaRectangle( 
   Graphics g,
   RectangleF chartRectangle,
   ChartModel chartModel,
   int labelAreaIndex
)

Parameters

g
Graphics context.
chartRectangle
Rectangle of chart.
chartModel
Chart model.
labelAreaIndex
Index of label area in chart model.

Return Value

Rectangle of label area.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.