Export (0) Print
Expand All
Expand Minimize

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)

public enum ContextLinkDirection

Member nameDescription
LinksWithIndicates 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.
LinksFromIndicates that the DestinationNode is a directional drawing and that it points away from the SourceNode.
LinksToIndicates that the SourceNode is a directional drawing and that it points to the DestinationNode.

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.

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.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft