InkAnalyzerBase.GetAnalysisHints Method
Returns all of the analysis hint nodes that are attached to the InkAnalyzerBase.
Namespace: System.Windows.Ink.AnalysisCore
Assembly: IACore (in IACore.dll)
Syntax
'Declaration
Public Function GetAnalysisHints As ContextNodeBaseCollection
'Usage
Dim instance As InkAnalyzerBase
Dim returnValue As ContextNodeBaseCollection
returnValue = instance.GetAnalysisHints()
public ContextNodeBaseCollection GetAnalysisHints()
public:
ContextNodeBaseCollection^ GetAnalysisHints()
public function GetAnalysisHints() : ContextNodeBaseCollection
Return Value
Type: System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection
A collection of the analysis hint nodes that are attached to the ink analyzer.
Remarks
This method returns an empty collection if no analysis hint nodes are attached to the ink analyzer.
An analysis hint node is a ContextNodeBase that has a Type property value of AnalysisHint.
To add context information to the hint, use the ContextNodeBase object's AddPropertyData method with the propertyDataId parameter set to one of the globally unique identifiers (GUIDs) in the PropertyGuidsForAnalysisHintsBase class.
To find which property values are set on a context node, use GetPropertyDataIds. To find the value of a property, use GetPropertyData.
Examples
The following example retrieves all the analysis hint nodes currently attached to the InkAnalyzerBase, theInkAnalyzerBase.
Dim allAnalysisHints As System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection = _
theInkAnalyzerBase.GetAnalysisHints()
System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection allAnalysisHints =
theInkAnalyzerBase.GetAnalysisHints();
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
See Also
Reference
System.Windows.Ink.AnalysisCore Namespace
InkAnalyzerBase.CreateAnalysisHint