Share via


PropertyGuidsForAnalysisHints.CoerceToFactoid Field

Specifies the globally unique identifier (GUID) for getting or setting the Boolean that determines whether the ink analyzer limits its analysis of ink within the hint's area to conform to the factoid.

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

Syntax

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

value = PropertyGuidsForAnalysisHints.CoerceToFactoid
public static readonly Guid CoerceToFactoid
public:
static initonly Guid CoerceToFactoid
public static final var CoerceToFactoid : Guid

Remarks

This field represents whether the ink analyzer conforms to the factoid on a ContextNode of type AnalysisHint.

Examples

The following example checks for an existing CoerceToFactoid in the ContainsPropertyData method of an AnalysisHintNode. If the CoerceToFactoid field exists, a Boolean value is returned to populate myCoerceToFactoid.

' Determine whether hint area conforms to the factoid in the analysis hint 
If myAnalysisHintNode.ContainsPropertyData( _
    PropertyGuidsForAnalysisHints.CoerceToFactoid) Then 

    Dim myCoerceToFactoid As Boolean = _
        CBool(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForAnalysisHints.CoerceToFactoid))
End If
// Determine whether hint area conforms to the factoid in the analysis hint 
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForAnalysisHints.CoerceToFactoid))
{
    bool myCoerceToFactoid =
        (bool)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForAnalysisHints.CoerceToFactoid);
}

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

PropertyGuidsForAnalysisHints Class

PropertyGuidsForAnalysisHints Members

System.Windows.Ink Namespace