Share via


InkAnalyzer.DeleteAnalysisHint Method

Removes an AnalysisHintNode from the ink analyzer.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in microsoft.ink.analysis.dll)

Syntax

'Declaration
Public Sub DeleteAnalysisHint ( _
    hintToDelete As AnalysisHintNode _
)
'Usage
Dim instance As InkAnalyzer
Dim hintToDelete As AnalysisHintNode

instance.DeleteAnalysisHint(hintToDelete)
public void DeleteAnalysisHint (
    AnalysisHintNode hintToDelete
)
public:
void DeleteAnalysisHint (
    AnalysisHintNode^ hintToDelete
)
public void DeleteAnalysisHint (
    AnalysisHintNode hintToDelete
)
public function DeleteAnalysisHint (
    hintToDelete : AnalysisHintNode
)
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 AnalysisHintNode itself is not deleted.

Example

This example removes an AnalysisHintNode, theAnalysisHint, from the InkAnalyzer, theInkAnalyzer, and then releases the reference to the hint.

' Remove the analysis hint from theInkAnalyzer.
Me.theInkAnalyzer.DeleteAnalysisHint(theAnalysisHint)

' Release this reference to the hint.
theAnalysisHint = Nothing
// Remove the analysis hint from theInkAnalyzer.
this.theInkAnalyzer.DeleteAnalysisHint(theAnalysisHint);

// Release this reference to the hint.
theAnalysisHint = 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

InkAnalyzer Class
InkAnalyzer Members
Microsoft.Ink Namespace