VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Annotation.UI.VisualTools Namespace / CommentVisualTool Class / GetConnectionPoints(Comment,Rectangle,Rectangle,PointF,PointF,PointF,PointF) Method
Syntax Requirements SeeAlso
In This Topic
GetConnectionPoints(Comment,Rectangle,Rectangle,PointF,PointF,PointF,PointF) Method (CommentVisualTool)
In This Topic
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 _
)
protected virtual void GetConnectionPoints(
Vintasoft.Imaging.Annotation.Comments.Comment comment,
System.Drawing.Rectangle commentBoundingBox,
System.Drawing.Rectangle commentSourceBoundingBox,
out System.Drawing.PointF commentConnectionSidePoint1,
out System.Drawing.PointF commentConnectionSidePoint2,
out System.Drawing.PointF commentConnectionPoint,
out System.Drawing.PointF sourceConnectionPoint
)

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: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also