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 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) |
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 model.
Return Value
Rectangle of legend area.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