Share via


PropertyGuidsForContextNodes.ContentType Field

Specifies the globally unique identifier (GUID) for getting and setting the ContentType of a paragraph node using the GetPropertyData and SetPropertyData methods.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

Syntax

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

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

Remarks

ContentType is only valid on a paragraph node. The possible values are:

  • 0: Ink Content Only – The children of this paragraph contain ink content, including Lines, InkWords and InkDrawings.

  • 1: Non-Ink Content Only – The children of this paragraph contain only non-ink content, including TextWords and Images.

  • 2: Mixed Ink and Non-Ink Content – The children of this paragraph contain both Ink and Non-Ink Content.

ContentType is used by the Analyzer to improve the performance of node population in applications that use Data Proxy that are partially populating nodes. For more information on Data Proxy and partially populating nodes, see Data Proxy with Ink Analysis. Setting this value has no effect for applications that are not using Data Proxy. The value will not be persisted using the SavePropertiesData or SaveResults method.

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

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

PropertyGuidsForContextNodes Class

PropertyGuidsForContextNodes Members

Microsoft.Ink Namespace