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


ITabletExt.InkGeometry Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (EditorExt)  

ITabletExt.InkGeometry Property

The current Ink sketch as a geometry.

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

Product Availability

Available with ArcGIS Desktop.
[C#]

An ESRI Geometry representation of the Ink that has been captured.

//You can get app from ICommand :: OnCreate() hook parameter
public void GetInkGeometry()
{
UID extUid=new UIDClass();
extUid.Value="TabletPCSup.TabletExt";
  ITabletExt tablet=app.FindExtensionByCLSID(extUid) as ITabletExt;
IPolyline line=tablet.InkGeometry as IPolyline;
}
[Visual Basic .NET]

An ESRI Geometry representation of the Ink that has been captured.

  Public Sub GetInkGeometry()
    '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 line As IPolyline=TryCast(tablet.InkGeometry, IPolyline)
  End Sub

See Also

ITabletExt Interface