Spread for ASP.NET 8.0 Product Documentation
GetLegendAreaRectangle Method (Chart2DRenderer)


Graphics context.
Rectangle of chart.
Chart model.
Index of legend area in model.
Gets the rectangle of the legend area.
Syntax
'Declaration
 
Public Function GetLegendAreaRectangle( _
   ByVal g As Graphics, _
   ByVal chartRectangle As RectangleF, _
   ByVal chartModel As ChartModel, _
   ByVal legendAreaIndex As Integer _
) As RectangleF
'Usage
 
Dim instance As Chart2DRenderer
Dim g As Graphics
Dim chartRectangle As RectangleF
Dim chartModel As ChartModel
Dim legendAreaIndex As Integer
Dim value As RectangleF
 
value = instance.GetLegendAreaRectangle(g, chartRectangle, chartModel, legendAreaIndex)
public RectangleF GetLegendAreaRectangle( 
   Graphics g,
   RectangleF chartRectangle,
   ChartModel chartModel,
   int legendAreaIndex
)

Parameters

g
Graphics context.
chartRectangle
Rectangle of chart.
chartModel
Chart model.
legendAreaIndex
Index of legend area in model.

Return Value

Rectangle of legend area.
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Chart2DRenderer Class
Chart2DRenderer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.