Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / ConnectionShape Class / AutoLayout Method / AutoLayout(Rectangle,Rectangle,Point,Point,Boolean,Boolean,Boolean,Boolean,IWorksheet) Method


In This Topic
    AutoLayout(Rectangle,Rectangle,Point,Point,Boolean,Boolean,Boolean,Boolean,IWorksheet) Method
    In This Topic
    Layouts the connection shape automatically.
    Syntax
    'Declaration
     
    
    Public Overloads Sub AutoLayout( _
       ByVal firstBounds As Rectangle, _
       ByVal secondBounds As Rectangle, _
       ByVal startPoint As Point, _
       ByVal endPoint As Point, _
       ByVal updateAdjustments As Boolean, _
       Optional ByVal updateParentBoundary As Boolean, _
       Optional ByVal applyDisplayFormulas As Boolean, _
       Optional ByVal updateBoundary As Boolean, _
       Optional ByVal contextWorksheet As IWorksheet _
    ) 
    'Usage
     
    
    Dim instance As ConnectionShape
    Dim firstBounds As Rectangle
    Dim secondBounds As Rectangle
    Dim startPoint As Point
    Dim endPoint As Point
    Dim updateAdjustments As Boolean
    Dim updateParentBoundary As Boolean
    Dim applyDisplayFormulas As Boolean
    Dim updateBoundary As Boolean
    Dim contextWorksheet As IWorksheet
     
    instance.AutoLayout(firstBounds, secondBounds, startPoint, endPoint, updateAdjustments, updateParentBoundary, applyDisplayFormulas, updateBoundary, contextWorksheet)

    Parameters

    firstBounds
    secondBounds
    startPoint
    endPoint
    updateAdjustments
    updateParentBoundary
    applyDisplayFormulas
    updateBoundary
    contextWorksheet
    See Also