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


In This Topic
    AutoLayout(Point,Point,Boolean,Boolean,IWorksheet) Method
    In This Topic
    Layouts the connection shape to fit 2 specified points.
    Syntax
    'Declaration
     
    
    Public Overloads Sub AutoLayout( _
       ByVal startPoint As Point, _
       ByVal endPoint As Point, _
       Optional ByVal updateParentBoundary As Boolean, _
       Optional ByVal applyDisplayFormulas As Boolean, _
       Optional ByVal contextWorksheet As IWorksheet _
    ) 
    'Usage
     
    
    Dim instance As ConnectionShape
    Dim startPoint As Point
    Dim endPoint As Point
    Dim updateParentBoundary As Boolean
    Dim applyDisplayFormulas As Boolean
    Dim contextWorksheet As IWorksheet
     
    instance.AutoLayout(startPoint, endPoint, updateParentBoundary, applyDisplayFormulas, contextWorksheet)

    Parameters

    startPoint
    endPoint
    updateParentBoundary
    applyDisplayFormulas
    contextWorksheet
    See Also