This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > EditorExt > ESRI.ArcGIS.EditorExt > Interfaces > IT > ITabletExt Interface > ITabletExt.InkGeometry Property (ArcObjects .NET 10.4 SDK) |
The current Ink sketch as a geometry.
[Visual Basic .NET] Public ReadOnly Property InkGeometry As Object
[C#] public object InkGeometry {get;}
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;
}
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