PropertyGuidsForContextNodesBase.ContentType 字段

指定全局唯一标识符 (GUID),通过 GetPropertyData 和 SetPropertyData 方法获取和设置段落节点的类型。

命名空间:  System.Windows.Ink.AnalysisCore
程序集:  IACore(在 IACore.dll 中)

语法

声明
Public Shared ReadOnly ContentType As Guid
用法
Dim value As Guid

value = PropertyGuidsForContextNodesBase.ContentType
public static readonly Guid ContentType
public:
static initonly Guid ContentType
public static final Guid ContentType
public static final var ContentType : Guid

备注

ContentType 只在段落节点上有效。可能的值有:

  • 0:仅墨迹内容 – 此段落的子级包含墨迹内容,包括 Line、InkWord 和 InkDrawing。

  • 1:仅非墨迹内容 – 此段落的子级只包含非墨迹内容,包括 TextWord 和 Image。

  • 2:混合墨迹内容和非墨迹内容 – 此段落的子级既包含墨迹内容,也包含非墨迹内容。

在使用部分填充节点的数据代理的应用程序中,分析器使用 ContentType 提高节点填充性能。有关数据代理和部分填充节点的更多信息,请参见Data Proxy with Ink Analysis。设置此值对于不使用数据代理的应用程序没有影响。系统不会使用 SavePropertiesData 或 SaveResults() 方法保存该值。

平台

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

PropertyGuidsForContextNodesBase 类

PropertyGuidsForContextNodesBase 成员

System.Windows.Ink.AnalysisCore 命名空间