Nevron .NET Vision
GetPlugDirectionForPort Method


foreign port
own plug
Called by own plugs to provide a plug direction for the specified foreign port
Syntax
'Declaration
 
Public Overridable Function GetPlugDirectionForPort( _
   ByVal foreignPort As NPort, _
   ByVal ownPlug As NPlug _
) As NPointF
'Usage
 
Dim instance As NShape
Dim foreignPort As NPort
Dim ownPlug As NPlug
Dim value As NPointF
 
value = instance.GetPlugDirectionForPort(foreignPort, ownPlug)
public virtual NPointF GetPlugDirectionForPort( 
   NPort foreignPort,
   NPlug ownPlug
)

Parameters

foreignPort
foreign port
ownPlug
own plug

Return Value

direction of the plug for the specified port
Remarks
This implementation will return the shape center
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

NShape Class
NShape Members

 

 


©2022. Nevron Software LLC.

Send Feedback