Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / GetConnectionLocation Method
The connection shape.
The shape painting boundary.
The start point of the connection shape.
The end point of the connection shape.


In This Topic
    GetConnectionLocation Method
    In This Topic
    Get the location of connection.
    Syntax
    'Declaration
     
    
    Public Sub GetConnectionLocation( _
       ByVal shape As ConnectionShape, _
       ByVal shapeRect As Rectangle, _
       ByRef startPoint As Point, _
       ByRef endPoint As Point _
    ) 
    'Usage
     
    
    Dim instance As WorksheetDrawing
    Dim shape As ConnectionShape
    Dim shapeRect As Rectangle
    Dim startPoint As Point
    Dim endPoint As Point
     
    instance.GetConnectionLocation(shape, shapeRect, startPoint, endPoint)
    public void GetConnectionLocation( 
       ConnectionShape shape,
       Rectangle shapeRect,
       out Point startPoint,
       out Point endPoint
    )

    Parameters

    shape
    The connection shape.
    shapeRect
    The shape painting boundary.
    startPoint
    The start point of the connection shape.
    endPoint
    The end point of the connection shape.
    See Also