com.esri.arcgis.geometry
Class IWin32ShapeProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IWin32ShapeProxy
All Implemented Interfaces:
IWin32Shape, Externalizable, Serializable
Direct Known Subclasses:
IWin32Shape2Proxy

public class IWin32ShapeProxy
extends com.esri.arcgis.interop.Dispatch
implements IWin32Shape, Serializable

Provides access to members that prepare a set of GDI drawing instructions for a geometry.

Superseded By

IWin32Shape2

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IWin32ShapeProxy()
           
  IWin32ShapeProxy(Object obj)
           
protected IWin32ShapeProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void exportToWin32Shape(ITransformation transform, IEnvelope displayExtent, int[] byteCount, byte[] byteBuffer, boolean compatibleBuffer, boolean[] dice)
          Exports a set of GDI drawing instruction for this geometry to the specified buffer.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IWin32ShapeProxy

public IWin32ShapeProxy()

IWin32ShapeProxy

public IWin32ShapeProxy(Object obj)
                 throws IOException
Throws:
IOException

IWin32ShapeProxy

protected IWin32ShapeProxy(Object obj,
                           String iid)
                    throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

exportToWin32Shape

public void exportToWin32Shape(ITransformation transform,
                               IEnvelope displayExtent,
                               int[] byteCount,
                               byte[] byteBuffer,
                               boolean compatibleBuffer,
                               boolean[] dice)
                        throws IOException,
                               AutomationException
Exports a set of GDI drawing instruction for this geometry to the specified buffer. The exact number of bytes written is returned.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
exportToWin32Shape in interface IWin32Shape
Parameters:
transform - A reference to a com.esri.arcgis.geometry.ITransformation (in)
displayExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
byteCount - The byteCount (in/out: use single element array)
byteBuffer - An unsigned byte (out: use single element array)
compatibleBuffer - The compatibleBuffer (in)
dice - The dice (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.