Share via


InkAnalyzer.DeleteAnalysisHint Method

Removes an AnalysisHintNode from the ink analyzer.

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.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 function DeleteAnalysisHint(
    hintToDelete : AnalysisHintNode
)

Parameters

Remarks

Merely 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 using the hint's Location.

The hint will be removed from the analyzer; however, the AnalysisHintNode will not be deleted.

Examples

This example removes an AnalysisHintNode named theAnalysisHint from the InkAnalyzer (named theInkAnalyzer); it 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 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

InkAnalyzer Class

InkAnalyzer Members

System.Windows.Ink Namespace