com.esri.arcgis.output
Class IPaperProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.output.IPaperProxy
All Implemented Interfaces:
IPaper, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IPaper'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriOutput.olb'

Description: 'Provides access to members that control the default printer page settings.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

public class IPaperProxy
extends com.esri.arcgis.interop.Dispatch
implements IPaper, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.output.IPaper
IID, IID387bc1d1_3f54_11d1_885e_0000f87808ee
 
Constructor Summary
  IPaperProxy()
          Deprecated. For internal use only
  IPaperProxy(java.lang.Object obj)
          Deprecated.  
protected IPaperProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IPaperProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IPaperProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void attach(int hDevMode, int hDevNames)
          Deprecated. Attach object to specified DEVMODE and DEVNAMES structures.
 short getFormID()
          Deprecated. The printer page form.
 java.lang.String getFormName()
          Deprecated. The Form Name.
 IEnumNamedID getForms()
          Deprecated. Enumerate forms supported by the printer.
 short getOrientation()
          Deprecated. The printer page orientation (1 = portrait.
 IEnvelope getPrintableBounds()
          Deprecated. The area of the printer page that can be printed on.
 int getPrinterInfo(int[] hDevMode)
          Deprecated. Display the Print Setup Dialog.
 java.lang.String getPrinterName()
          Deprecated. The Printer Name.
 short getTrayID()
          Deprecated. The printer tray.
 IEnumNamedID getTrays()
          Deprecated. Enumerate trays supported by the printer.
 int getUnits()
          Deprecated. The units used by the other properties.
 void queryPaperSize(double[] width, double[] height)
          Deprecated. Returns the size of the printer paper.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setFormID(short formID)
          Deprecated. The printer page form.
 void setOrientation(short orientation)
          Deprecated. The printer page orientation (1 = portrait.
 void setPrinterName(java.lang.String printerName)
          Deprecated. The Printer Name.
 void setTrayID(short trayID)
          Deprecated. The printer tray.
 
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

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IPaperProxy

public IPaperProxy(java.lang.String CLSID,
                   java.lang.String host,
                   com.esri.arcgis.interop.AuthInfo authInfo)
            throws java.net.UnknownHostException,
                   java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IPaperProxy

public IPaperProxy()
Deprecated. 
For internal use only


IPaperProxy

public IPaperProxy(java.lang.Object obj)
            throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IPaperProxy

protected IPaperProxy(java.lang.Object obj,
                      java.lang.String iid)
               throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IPaperProxy

protected IPaperProxy(java.lang.String CLSID,
                      java.lang.String iid,
                      java.lang.String host,
                      com.esri.arcgis.interop.AuthInfo authInfo)
               throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

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

removeListener

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

getUnits

public int getUnits()
             throws java.io.IOException,
                    AutomationException
Deprecated. 
The units used by the other properties.

Specified by:
getUnits in interface IPaper
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPrintableBounds

public IEnvelope getPrintableBounds()
                             throws java.io.IOException,
                                    AutomationException
Deprecated. 
The area of the printer page that can be printed on.

Specified by:
getPrintableBounds in interface IPaper
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOrientation

public short getOrientation()
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
The printer page orientation (1 = portrait. 2 = landscape).

Specified by:
getOrientation in interface IPaper
Returns:
The orientation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOrientation

public void setOrientation(short orientation)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
The printer page orientation (1 = portrait. 2 = landscape).

Specified by:
setOrientation in interface IPaper
Parameters:
orientation - The orientation (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getForms

public IEnumNamedID getForms()
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Enumerate forms supported by the printer.

Specified by:
getForms in interface IPaper
Returns:
A reference to a com.esri.arcgis.system.IEnumNamedID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFormName

public java.lang.String getFormName()
                             throws java.io.IOException,
                                    AutomationException
Deprecated. 
The Form Name.

Specified by:
getFormName in interface IPaper
Returns:
The formName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFormID

public short getFormID()
                throws java.io.IOException,
                       AutomationException
Deprecated. 
The printer page form. Use Win32 DMPAPER_xxx constants.

Specified by:
getFormID in interface IPaper
Returns:
The formID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFormID

public void setFormID(short formID)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
The printer page form. Use Win32 DMPAPER_xxx constants.

Specified by:
setFormID in interface IPaper
Parameters:
formID - The formID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrays

public IEnumNamedID getTrays()
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Enumerate trays supported by the printer.

Specified by:
getTrays in interface IPaper
Returns:
A reference to a com.esri.arcgis.system.IEnumNamedID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrayID

public short getTrayID()
                throws java.io.IOException,
                       AutomationException
Deprecated. 
The printer tray. Use Win32 DMBIN_xxx constants.

Specified by:
getTrayID in interface IPaper
Returns:
The trayID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTrayID

public void setTrayID(short trayID)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
The printer tray. Use Win32 DMBIN_xxx constants.

Specified by:
setTrayID in interface IPaper
Parameters:
trayID - The trayID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPrinterName

public java.lang.String getPrinterName()
                                throws java.io.IOException,
                                       AutomationException
Deprecated. 
The Printer Name.

Specified by:
getPrinterName in interface IPaper
Returns:
The printerName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPrinterName

public void setPrinterName(java.lang.String printerName)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
The Printer Name.

Specified by:
setPrinterName in interface IPaper
Parameters:
printerName - The printerName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

attach

public void attach(int hDevMode,
                   int hDevNames)
            throws java.io.IOException,
                   AutomationException
Deprecated. 
Attach object to specified DEVMODE and DEVNAMES structures. This must be called before using other properties and methods.

Specified by:
attach in interface IPaper
Parameters:
hDevMode - The hDevMode (A COM typedef) (in)
hDevNames - The hDevNames (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPaperSize

public void queryPaperSize(double[] width,
                           double[] height)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Returns the size of the printer paper. Units property specifies measurement units.

Specified by:
queryPaperSize in interface IPaper
Parameters:
width - The width (out: use single element array)
height - The height (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPrinterInfo

public int getPrinterInfo(int[] hDevMode)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Display the Print Setup Dialog.

Specified by:
getPrinterInfo in interface IPaper
Parameters:
hDevMode - The hDevMode (A COM typedef) (out: use single element array)
Returns:
The hDevNames (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.