InkAnalyzerBase.DeleteAnalysisHint Method
Removes an analysis hint from the ink analyzer.
Namespace: System.Windows.Ink.AnalysisCore
Assembly: IACore (in IACore.dll)
Syntax
'Declaration
Public Sub DeleteAnalysisHint ( _
hintToDelete As ContextNodeBase _
)
'Usage
Dim instance As InkAnalyzerBase
Dim hintToDelete As ContextNodeBase
instance.DeleteAnalysisHint(hintToDelete)
public void DeleteAnalysisHint(
ContextNodeBase hintToDelete
)
public:
void DeleteAnalysisHint(
ContextNodeBase^ hintToDelete
)
public function DeleteAnalysisHint(
hintToDelete : ContextNodeBase
)
Parameters
hintToDelete
Type: System.Windows.Ink.AnalysisCore.ContextNodeBaseThe analysis hint to remove from the ink analyzer.
Remarks
Removing an analysis hint does not mark the hint's area for reanalysis. To mark the area within the hint for reanalysis, call the DirtyRegion object's Union method with the hint's Location.
The hint is removed from the analyzer; however, the ContextNodeBase itself is not deleted.
This method throws an exception when the hintToDelete is a ContextNodeBase that does not have a Type property value of ContextNodeTypeBase.AnalysisHint.
Examples
The following example removes the analysis hint node, theAnalysisHintNodeBase, from the InkAnalyzerBase, theInkAnalyzerBase.
' Remove the analysis hint from the ink analyzer.
theInkAnalyzerBase.DeleteAnalysisHint(theAnalysisHintNode)
If Nothing IsNot theAnalysisHintNode Then
' Release this reference to the analysis hint.
theAnalysisHintNode = Nothing
End If
// Remove the analysis hint from the ink analyzer.
theInkAnalyzerBase.DeleteAnalysisHint(theAnalysisHintNode);
if (null != theAnalysisHintNode)
{
// Release this reference to the analysis hint.
theAnalysisHintNode = null;
}
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