PropertyGuidsForAnalysisHintsBase.CoerceToFactoid 字段
指定一个全局唯一标识符 (GUID),该 GUID 可用于获取或设置用于确定墨迹分析器是否将其墨迹分析限制在提示区域之内以符合智能标记的布尔值。
命名空间: System.Windows.Ink.AnalysisCore
程序集: IACore(在 IACore.dll 中)
语法
声明
Public Shared ReadOnly CoerceToFactoid As Guid
用法
Dim value As Guid
value = PropertyGuidsForAnalysisHintsBase.CoerceToFactoid
public static readonly Guid CoerceToFactoid
public:
static initonly Guid CoerceToFactoid
public static final Guid CoerceToFactoid
public static final var CoerceToFactoid : Guid
备注
此字段表示墨迹分析器是否符合类型为 AnalysisHint 的 ContextNode 上的智能标记。
示例
下面的示例演示 CoerceToFactoid 字段。
' Determine whether hint area conforms to the factoid in the analysis hint
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForAnalysisHints.CoerceToFactoid) Then
Dim myCoerceToFactoid As Boolean = _
CType(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForAnalysisHints.CoerceToFactoid), Boolean)
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);
}
平台
Windows Vista, Windows XP SP2, Windows Server 2003
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0
另请参见
参考
PropertyGuidsForAnalysisHintsBase 类