Vendor Property
Vendor Property |
Gets the vendor name of the IInkRecognizer object.
Declaration
[C++]
[C++]
[propget] HRESULT get_Vendor([out, retval] BSTR *Vendor);
[Microsoft® Visual Basic® 6.0]
[Visual Basic]
Public Property Get Vendor() As String
Property Value
BSTR The vendor name of the IInkRecognizer object.
This property is read-only.
For more information about the BSTR data type, see Using the Automation Library.
Return Value
HRESULT value | Description |
---|---|
S_OK | Success. |
E_POINTER | The parameter is an invalid pointer. |
E_OUTOFMEMORY | The property is unable to allocate memory for the property value. |
E_INK_EXCEPTION | An internal error occurs during processing. |
Example
[Visual Basic 6.0]
This Visual Basic 6.0 example gets the vendor names for each of the installed recognizers and writes that information to the list box, theListBox.
[Visual Basic]
Dim theRecognizers As New InkRecognizers
Dim theRecognizer As IInkRecognizer
For Each theRecognizer In theRecognizers
theListBox.AddItem (theRecognizer.Vendor)
Next