VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Wpf.UI.VisualTools Namespace / WpfCommentVisualTool Class / GetConnectionPoints(Comment,Rect,Rect,Point,Point,Point,Point) Method
Syntax Requirements SeeAlso
In This Topic
GetConnectionPoints(Comment,Rect,Rect,Point,Point,Point,Point) Method (WpfCommentVisualTool)
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.Windows.Rect, _
ByVal commentSourceBoundingBox
The bounding box of comment source.
As System.Windows.Rect, _
ByRef commentConnectionSidePoint1
The first point of comment side.
As System.Windows.Point, _
ByRef commentConnectionSidePoint2
The second point of comment side.
As System.Windows.Point, _
ByRef commentConnectionPoint
The comment connection point.
As System.Windows.Point, _
ByRef sourceConnectionPoint
The source connection point.
As System.Windows.Point _
)
protected virtual void GetConnectionPoints(
Vintasoft.Imaging.Annotation.Comments.Comment comment,
System.Windows.Rect commentBoundingBox,
System.Windows.Rect commentSourceBoundingBox,
out System.Windows.Point commentConnectionSidePoint1,
out System.Windows.Point commentConnectionSidePoint2,
out System.Windows.Point commentConnectionPoint,
out System.Windows.Point 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 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also