This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > EditorExt > ESRI.ArcGIS.EditorExt > Interfaces > IT > ITabletExt Interface > ITabletExt.InkCollector Property (ArcObjects .NET 10.4 SDK) |
The tablet extension's internal ink collecting object.
[Visual Basic .NET] Public ReadOnly Property InkCollector As Object
[C#] public object InkCollector {get;}
Returns an InkOverlay object. To get the InkOverlay object, reference the Microsoft Tablet PC Type Library. Properties of the Ink itself can be changed with the native Ink objects.
//You can get app from ICommand :: OnCreate() hook parameter
public void GetInkCollector()
{
UID extUid=new UIDClass();
extUid.Value="TabletPCSup.TabletExt";
TabletExt tablet=app.FindExtensionByCLSID(extUid) as TabletExt;
MSINKAUTLib.InkOverlay inkOverlay=tablet.InkCollector as MSINKAUTLib.InkOverlay;
}
Public Sub GetInkCollector()
'You can get app from ICommand :: OnCreate() hook parameter
Dim extUid As UID=New UIDClass()
extUid.Value="TabletPCSup.TabletExt"
Dim tablet As ITabletExt=TryCast(app.FindExtensionByCLSID(extUid), ITabletExt)
Dim inkOverlay As MSINKAUTLib.InkOverlay=TryCast(tablet.InkCollector, MSINKAUTLib.InkOverlay)
End Sub