次の方法で共有


PropertyGuidsForAnalysisHints.Guide Field

Specifies the globally unique identifier (GUID) for getting and setting the InkRecognizerGuide that represents the guide for an analysis hint.

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)

Syntax

'Declaration
Public Shared ReadOnly Guide As Guid
'Usage
Dim value As Guid

value = PropertyGuidsForAnalysisHints.Guide
public static readonly Guid Guide
public:
static initonly Guid Guide
public static final Guid Guide
public static final var Guide : Guid
Not applicable.

Remarks

This field represents the InkRecognizerGuide on a ContextNode of type AnalysisHint. Guides are the area in which ink is drawn and recognized.

Example

The following example checks for an existing Guide in the ContainsPropertyData method of an AnalysisHintNode. If the Guide field exists, the returned property data of type RecognizerGuide populates myGuide (Visual Basic) ormyInkRecognizerGuideBaseByGuid(C#).

' Get guide for analysis hint
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForAnalysisHints.Guide) Then

    Dim myInkRecognizerGuideBaseByGuid As InkRecognizerGuide = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForAnalysisHints.Guide), InkRecognizerGuide)
End If
// Get guide for analysis hint
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForAnalysisHints.Guide))
{
    InkRecognizerGuide myInkRecognizerGuideBaseByGuid =
        (InkRecognizerGuide)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForAnalysisHints.Guide);
}

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

PropertyGuidsForAnalysisHints Class
PropertyGuidsForAnalysisHints Members
System.Windows.Ink Namespace