Spread ASP.NET 6.0 Product Documentation
GetLegendAreaRectangle Method
See Also  Send Feedback
FarPoint.Web.Chart Assembly > FarPoint.Web.Chart Namespace > Chart3DRenderer Class : GetLegendAreaRectangle Method


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

Glossary Item Box

Gets the rectangle of the legend area.

Syntax

Visual Basic (Declaration) 
Public Function GetLegendAreaRectangle( _
   ByVal g As Graphics, _
   ByVal chartRectangle As RectangleF, _
   ByVal chartModel As ChartModel, _
   ByVal legendAreaIndex As Integer _
) As RectangleF
Visual Basic (Usage)Copy Code
Dim instance As Chart3DRenderer
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)
C# 
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 chart model.

Return Value

Rectangle of legend area.

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

© 2002-2012 GrapeCity, Inc. All Rights Reserved.