com.esri.arcgis.output
Class PrintAndExportPageOptions

java.lang.Object
  extended by com.esri.arcgis.output.PrintAndExportPageOptions
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IPrintAndExportPageOptions, Serializable

public class PrintAndExportPageOptions
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IPrintAndExportPageOptions

Print and Export Page Options.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
PrintAndExportPageOptions()
          Constructs a PrintAndExportPageOptions using ArcGIS Engine.
PrintAndExportPageOptions(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PrintAndExportPageOptions thePrintAndExportPageOptions = (PrintAndExportPageOptions) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int getOutputSelection()
          Specify which pages to output.
 String getPageRange()
          Specify range or query string when OutputSelection is set to range or query.
 int hashCode()
          the hashcode for this object
 boolean isOutputPageSelection()
          Indicates if selection symbology should be output.
 void setOutputPageSelection(boolean flag)
          Indicates if selection symbology should be output.
 void setOutputSelection(int pOption)
          Specify which pages to output.
 void setPageRange(String range)
          Specify range or query string when OutputSelection is set to range or query.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

PrintAndExportPageOptions

public PrintAndExportPageOptions()
                          throws IOException,
                                 UnknownHostException
Constructs a PrintAndExportPageOptions using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

PrintAndExportPageOptions

public PrintAndExportPageOptions(Object obj)
                          throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
PrintAndExportPageOptions thePrintAndExportPageOptions = (PrintAndExportPageOptions) obj;

Construct a PrintAndExportPageOptions using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to PrintAndExportPageOptions.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setOutputSelection

public void setOutputSelection(int pOption)
                        throws IOException,
                               AutomationException
Specify which pages to output.

Product Availability

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

Specified by:
setOutputSelection in interface IPrintAndExportPageOptions
Parameters:
pOption - A com.esri.arcgis.output.esriOutputSelection constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutputSelection

public int getOutputSelection()
                       throws IOException,
                              AutomationException
Specify which pages to output.

Product Availability

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

Specified by:
getOutputSelection in interface IPrintAndExportPageOptions
Returns:
A com.esri.arcgis.output.esriOutputSelection constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPageRange

public void setPageRange(String range)
                  throws IOException,
                         AutomationException
Specify range or query string when OutputSelection is set to range or query.

Product Availability

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

Specified by:
setPageRange in interface IPrintAndExportPageOptions
Parameters:
range - The range (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPageRange

public String getPageRange()
                    throws IOException,
                           AutomationException
Specify range or query string when OutputSelection is set to range or query.

Product Availability

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

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

isOutputPageSelection

public boolean isOutputPageSelection()
                              throws IOException,
                                     AutomationException
Indicates if selection symbology should be output.

Product Availability

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

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

setOutputPageSelection

public void setOutputPageSelection(boolean flag)
                            throws IOException,
                                   AutomationException
Indicates if selection symbology should be output.

Product Availability

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

Specified by:
setOutputPageSelection in interface IPrintAndExportPageOptions
Parameters:
flag - The flag (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.