VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation.UI.VisualTools Namespace / CommentVisualTool Class / GetConnectionPoints(Comment,Rectangle,Rectangle,PointF,PointF,PointF,PointF) Method
Syntax Requirements SeeAlso
    GetConnectionPoints(Comment,Rectangle,Rectangle,PointF,PointF,PointF,PointF) Method (CommentVisualTool)
    Returns the points, which are used for drawing connection betwen comment and comment source.
    Syntax
    'Declaration
    
    Protected Overridable Sub GetConnectionPoints( _
    ByVal comment
    The comment.
    As Vintasoft.Imaging.Annotation.Comments.Comment, _
    ByVal commentBoundingBox
    The bounding box of comment.
    As System.Drawing.Rectangle, _
    ByVal commentSourceBoundingBox
    The bounding box of comment source.
    As System.Drawing.Rectangle, _
    ByRef commentConnectionSidePoint1
    The first point of comment side.
    As System.Drawing.PointF, _
    ByRef commentConnectionSidePoint2
    The second point of comment side.
    As System.Drawing.PointF, _
    ByRef commentConnectionPoint
    The comment connection point.
    As System.Drawing.PointF, _
    ByRef sourceConnectionPoint
    The source connection point.
    As System.Drawing.PointF _
    )
     

    Parameters

    comment
    The comment.
    commentBoundingBox
    The bounding box of comment.
    commentSourceBoundingBox
    The bounding box of comment source.
    commentConnectionSidePoint1
    The first point of comment side.
    commentConnectionSidePoint2
    The second point of comment side.
    commentConnectionPoint
    The comment connection point.
    sourceConnectionPoint
    The source connection point.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also