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


ITabletExt.InkGeometry Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > EditorExt > ESRI.ArcGIS.EditorExt > Interfaces > IT > ITabletExt Interface > ITabletExt.InkGeometry Property
ArcGIS Developer Help

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