Smrf.NodeXL.Visualization.Wpf.NodeXLControl.TransformLayout C# (CSharp) Method

TransformLayout() protected method

protected TransformLayout ( Rect oNewGraphRectangle ) : LayoutContext
oNewGraphRectangle System.Windows.Rect
return Smrf.NodeXL.Layouts.LayoutContext
    TransformLayout
    (
        Rect oNewGraphRectangle
    )
    {
        AssertValid();

        LayoutContext oNewLayoutContext = new LayoutContext(
            WpfGraphicsUtil.RectToRectangle(oNewGraphRectangle) );

        m_oLayout.TransformLayout(m_oGraph,
            m_oLastLayoutContext, oNewLayoutContext);

        return (oNewLayoutContext);
    }
NodeXLControl