This document is archived and information here might be outdated.  Recommended version.


ITabletExt.InkCollector Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (EditorExt)  

ITabletExt.InkCollector Property

The tablet extension's internal ink collecting object.

[Visual Basic .NET]
Public ReadOnly Property InkCollector As Object
[C#]
public object InkCollector {get;}

Product Availability

Available with ArcGIS Desktop.

Remarks

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.

[C#]
//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;
}
[Visual Basic .NET]

  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

See Also

ITabletExt Interface