ContextLinkDirection Enumeration
Specifies the directionality, if any, of an additional relationship between the two context nodes beyond the existing parent child relationship.
Namespace: System.Windows.Ink
Assembly: IAWinFX (in IAWinFX.dll)
Syntax
'Declaration
Public Enumeration ContextLinkDirection
'Usage
Dim instance As ContextLinkDirection
public enum ContextLinkDirection
public enum class ContextLinkDirection
public enum ContextLinkDirection
Members
Member name | Description | |
---|---|---|
LinksWith | Indicates that there are no directional drawings in the link. For example, an ink drawing can underline an ink word but no direction is inferred from the underline. | |
LinksFrom | Indicates that the DestinationNode is a directional drawing and that it points away from the SourceNode. | |
LinksTo | Indicates that the SourceNode is a directional drawing and that it points to the DestinationNode. |
Remarks
The ContextLinkDirection indicates whether a pair of context nodes has a directional relationship. For example, suppose that the ink consists of a circle, a square, and an arrow that points from the circle to the square. The InkAnalyzer recognizes this illustration as three InkDrawingNode objects: the circleNode, the squareNode, and the arrowNode. The arrow specifies a directional relationship with both the circle and the square, so the analyzer creates two links: one between the circleNode and the arrowNode, and another between the arrowNode and the squareNode. The following table lists the properties of each created link:
SourceNode |
DestinationNode |
LinkDirection |
---|---|---|
circleNode |
arrowNode |
LinksFrom |
arrowNode |
squareNode |
LinksTo |
The arrowNode points from the circleNode, so the LinkDirection is LinksFrom. The arrowNode points to the squareNode, so the LinkDirection is LinksTo.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0