GoDiagram Web Reference
PickPort Method

a PointF in document coordinates
Find a port in the document at the given point.
Syntax
'Declaration
 
Public Overridable Function PickPort( _
   ByVal dc As PointF _
) As IGoPort
public virtual IGoPort PickPort( 
   PointF dc
)

Parameters

dc
a PointF in document coordinates

Return Value

an IGoPort, or null if none was found at dc, or null if the object found is a child of the Link. The latter case is to avoid picking any port that is part of the link, such as when the link is a GoLabeledLink and the GoLabeledLink.FromLabel or the GoLabeledLink.ToLabel is a port or contains one.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoToolLinking Class
GoToolLinking Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback