Compartilhar via


SupportedProperties Property

SupportedProperties Property

Gets an array of globally unique identifiers (GUIDs) that describe the properties that the IInkRecognizer object supports.

Declaration

[C++]

[C++]
[propget] HRESULT get_SupportedProperties([out, retval] VARIANT *SupportedProperties);

[Microsoft® Visual Basic® 6.0]

[Visual Basic]
Public Property Get SupportedProperties() As Variant

Property Value

VARIANT An array of GUIDs that describe the properties that the IInkRecognizer object supports.

This property is read-only.

For more information about the VARIANT structure, see Using the Automation Library.

Return Value

HRESULT value Description
S_OK Success.
E_POINTER The parameter is an invalid pointer.
TPC_E_INSUFFICIENT_BUFFER The buffer is too small.
E_INK_EXCEPTION An exception occurred while processing.
E_OUTOFMEMORY Cannot allocate GUID array.

Remarks

A recognizer may support line metrics, line numbers, confidence levels, and so on. For a complete list of the properties that a recognizer may support, see the RecognitionProperty object.

Example

[Visual Basic 6.0]

This Visual Basic 6.0 example loads an array, theSupportedPropertiesArray, with the supported properties of the default recognizer.

[Visual Basic]
Dim theRecognizers As New Recognizers()
Dim theSupportedPropertiesArray() As Variant
Dim theSupportedProperties As Variant
Dim i As Integer
For Each theSupportedProperties In theRecognizers.GetDefaultRecognizer().SupportedProperties
    ReDim Preserve theSupportedPropertiesArray(i)
    theSupportedPropertiesArray(i) = theSupportedProperties
    i = i + 1
Next

Applies To