com.esri.arcgis.display
Interface IGeometryDraw

All Superinterfaces:
Serializable
All Known Implementing Classes:
GeometryDraw

public interface IGeometryDraw
extends Serializable

Provides access to members that convert a geometry into a sequence of Win32 drawing instructions.

Description

The GeometryDraw coclass is used to draw an IGeometry object to an IDisplay object.


The GeometryDraw object provides an alternative to using the ISymbol::Draw method, which draws a Symbol to a device context using a particular Geometry to provide the location.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void draw(int hDC, IGeometry pGeometry, ITransformation pTransformation, IEnvelope pVisibleBounds)
          Draws the geometry.
 void queryGeometryFromWin32Path(int hDC, ITransformation transform, IPolygon geometry)
          Queries the geometry.
 

Method Detail

draw

void draw(int hDC,
          IGeometry pGeometry,
          ITransformation pTransformation,
          IEnvelope pVisibleBounds)
          throws IOException,
                 AutomationException
Draws the geometry.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
hDC - The hDC (A COM typedef) (in)
pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pTransformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
pVisibleBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryGeometryFromWin32Path

void queryGeometryFromWin32Path(int hDC,
                                ITransformation transform,
                                IPolygon geometry)
                                throws IOException,
                                       AutomationException
Queries the geometry.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
hDC - The hDC (A COM typedef) (in)
transform - A reference to a com.esri.arcgis.geometry.ITransformation (in)
geometry - A reference to a com.esri.arcgis.geometry.IPolygon (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.