Share via


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 void DeleteAnalysisHint (
    ContextNodeBase hintToDelete
)
public function DeleteAnalysisHint (
    hintToDelete : ContextNodeBase
)
Not applicable.

Parameters

  • hintToDelete
    The 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.

Example

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkAnalyzerBase Class
InkAnalyzerBase Members
System.Windows.Ink.AnalysisCore Namespace
System.Windows.Ink.AnalysisCore.InkAnalyzerBase.CreateAnalysisHint
System.Windows.Ink.AnalysisCore.InkAnalyzerBase.GetAnalysisHints