Smrf.NodeXL.ExcelTemplate.AutoFillResultsLegendControl.Draw C# (CSharp) Method

Draw() protected method

protected Draw ( DrawingObjects oDrawingObjects ) : Int32
oDrawingObjects DrawingObjects
return System.Int32
    Draw
    (
        DrawingObjects oDrawingObjects
    )
    {
        Debug.Assert(oDrawingObjects != null);
        AssertValid();

        if (m_oAutoFillWorkbookResults.AutoFilledNonXYColumnCount > 0)
        {
            return ( DrawAutoFillWorkbookResults(oDrawingObjects) );
        }

        return (oDrawingObjects.ControlRectangle.Top);
    }