Spread for ASP.NET 13 Product Documentation
FarPoint.Web.Chart Assembly / FarPoint.Web.Chart Namespace / Chart3DRenderer Class / GetLegendAreaRectangle Method
Graphics context.
Rectangle of chart.
Chart model.
Index of legend area in chart model.


In This Topic
    GetLegendAreaRectangle Method (Chart3DRenderer)
    In This Topic
    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 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)
    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.
    See Also