This document is archived and information here might be outdated. Recommended version. |
Ink Graphic Object.
Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.
Interfaces | Description |
---|---|
IBoundsProperties | Provides access to members that control Bounds Properties. |
IClone (esriSystem) | Provides access to members that control cloning of objects. |
IElement | Provides access to members that control the Element. |
IElementProperties | Provides access to members that control the Element Properties. |
IElementProperties2 | Provides access to members that control More Element Properties. |
IElementProperties3 | Provides access to members that control More Element Properties. |
IElementShutdown | Provides access to members that control the IElementShutdown interface. |
IGraphicElement | Provides access to members that control the Graphic Element object. |
IInkGraphic | Provides access to the InkGraphic object. |
IPersist (esriSystem) | |
IPersistStream (esriSystem) | |
IPropertySupport (esriSystem) | Provides access to members that set a default property on an object. |
ISupportErrorInfo (esriSystem) | |
ITransform2D (esriGeometry) | Provides access to methods for transforming geometries using either specific parameters or arbitrary transformation objects (affine transformations, geographic transformations, etc.). |
The InkGraphic Element is used for TabletPC support and is the element used to persist and draw ink graphics. An InkGraphic implements the IElement interface, and you can use the IInkGraphic interface to get ink-specific properties for the element. Ink graphics are one of two types-Pen Ink or Highlight Ink. You can get the InkType using the IInkGraphic interface. The IInkGraphic interface exposes the stroke geometry as polyline geometry.
Using the IInkGraphicTool interface, you can control the properties of the Pen tool, such as width, tip type, and color of the ink that is drawn, or you can create your own Pen tool.
Geometry: InkGraphic accepts geometry of type esriGeometryPolyline. The Polyline is used as the geometry with which the symbol is drawn.
InkGraphic does not implement the following properties and will return E_NOTIMPL for them:
IElementProperties::AutoTransform
IElementProperties2::AutoTransform
IElementProperties3::AutoTransform
IElementProperties::CustomProperty
IElementProperties2::CustomProperty
IElementProperties3::CustomProperty