Share via


ConfirmationType Enumeration

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ConfirmationType
'Usage
Dim instance As ConfirmationType
[FlagsAttribute] 
public enum ConfirmationType
[FlagsAttribute] 
public enum class ConfirmationType
/** @attribute FlagsAttribute() */ 
public enum ConfirmationType
FlagsAttribute 
public enum ConfirmationType

Members

  Member name Description
NodeTypeAndProperties Specifies that the InkAnalyzer cannot change type or any properties of the specified context node. 

The ink analyzer cannot add or remove strokes from ink leaf nodes that are confirmed with this confirmation type.

None Specifies that no confirmation is applied. The InkAnalyzer is free to change a context node or any of its descendants as needed. 
TopBoundary Specifies that the InkAnalyzer will not perform operations, including adding ink or merging with other ContextNodes, that cause the TopBoundary to move beyond the current top boundary. For example: 
  • An application analyzes a set of Ink, and a ParagraphNode is identified.

  • The application confirms the TopBoundary of this paragraph.

  • The user of the application writes new ink above the current paragraph.

  • When analyze is called again, the new ink will not be incorporated into the Confirmed paragraph node.

Since only the top-left corner boundary is confirmed, the ContextNode can continue to grow in other directions. Deleting strokes can cause the top boundary to move down. Translating the ContextNode can cause the location to change, but will not allow additional ink to be merged in the new location.

Since it confirms the top left corner of the paragraph, not just the top, this top-left corner can only be updated if strokes are deleted from the top left corner. Adding strokes to the left of the paragraph doesn't merge the strokes with the paragraph, however you can add strokes to the right of the paragraph and below the paragraph.

This ConfirmationType is only applicable to paragraph nodes.

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

Microsoft.Ink Namespace
ContextNode.Confirm