com.esri.arcgis.catalogUI
Class IGxViewPrintProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.catalogUI.IGxViewPrintProxy
All Implemented Interfaces:
IGxViewPrint, Externalizable, Serializable

public class IGxViewPrintProxy
extends com.esri.arcgis.interop.Dispatch
implements IGxViewPrint, Serializable

Provides access to members that control the printing of a GxView object.

Remarks

GxViews optionally support the IGxViewPrint interface, to allow the user to print the current display. This is especially handy for the metadata view (described below), as it allows users to create scripts to print nicely formatted metadata for a batch of objects at once.

Product Availability

Available with ArcGIS Desktop.

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
  IGxViewPrintProxy()
           
  IGxViewPrintProxy(Object obj)
           
protected IGxViewPrintProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 boolean isPrintable()
          Indicates if the view can be printed.
 void print()
          Prints the view.
 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

IGxViewPrintProxy

public IGxViewPrintProxy()

IGxViewPrintProxy

public IGxViewPrintProxy(Object obj)
                  throws IOException
Throws:
IOException

IGxViewPrintProxy

protected IGxViewPrintProxy(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

isPrintable

public boolean isPrintable()
                    throws IOException,
                           AutomationException
Indicates if the view can be printed.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
isPrintable in interface IGxViewPrint
Returns:
The isPrintable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

print

public void print()
           throws IOException,
                  AutomationException
Prints the view.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
print in interface IGxViewPrint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.