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 Guid CoerceToFactoid
public static final var CoerceToFactoid : Guid
Not applicable.
Remarks
This field represents whether the ink analyzer conforms to the factoid on a ContextNode of type AnalysisHint.
Example
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 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