|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.PrintAndExport
public class PrintAndExport
Print And Export component.
| Constructor Summary | |
|---|---|
PrintAndExport()
Constructs a PrintAndExport using ArcGIS Engine. |
|
PrintAndExport(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. PrintAndExport thePrintAndExport = (PrintAndExport) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
void |
export(IActiveView pActiveView,
IExport pExport,
double resolution,
boolean clip2GraphicExtent,
ITrackCancel pTrackCancel)
Export the specified view. |
void |
exportPages(IActiveView pActiveView,
IExportPDF pPDFExport,
IPrintAndExportPageOptions options,
double resolution,
ITrackCancel pTrackCancel)
Export the specified pages. |
static String |
getClsid()
getClsid. |
int |
getPageCount(IActiveView activeView)
The data driven pages count. |
IRow |
getPageRow(IActiveView activeView,
String pageName)
The row that defines the specified data driven page. |
IEnumBSTR |
getPrinterNames()
The names of available printers. |
int |
hashCode()
the hashcode for this object |
void |
print(IActiveView pActiveView,
IPrinter pPrinter,
IPage pPage,
int pageID,
int resRatio,
ITrackCancel pTrackCancel)
Print the specified view. |
void |
printPages(IActiveView pActiveView,
IPrinter pPrinter,
IPage pPage,
IPrintAndExportPageOptions options,
int resRatio,
ITrackCancel pTrackCancel)
Print the specified pages. |
| 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 |
|---|
public PrintAndExport()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public PrintAndExport(Object obj)
throws IOException
PrintAndExport thePrintAndExport = (PrintAndExport) obj;
obj to PrintAndExport.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IEnumBSTR getPrinterNames()
throws IOException,
AutomationException
getPrinterNames in interface IPrintAndExportIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRow getPageRow(IActiveView activeView,
String pageName)
throws IOException,
AutomationException
getPageRow in interface IPrintAndExportactiveView - A reference to a com.esri.arcgis.carto.IActiveView (in)pageName - The pageName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPageCount(IActiveView activeView)
throws IOException,
AutomationException
getPageCount in interface IPrintAndExportactiveView - A reference to a com.esri.arcgis.carto.IActiveView (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void printPages(IActiveView pActiveView,
IPrinter pPrinter,
IPage pPage,
IPrintAndExportPageOptions options,
int resRatio,
ITrackCancel pTrackCancel)
throws IOException,
AutomationException
printPages in interface IPrintAndExportpActiveView - A reference to a com.esri.arcgis.carto.IActiveView (in)pPrinter - A reference to a com.esri.arcgis.output.IPrinter (in)pPage - A reference to a com.esri.arcgis.carto.IPage (in)options - A reference to a com.esri.arcgis.output.IPrintAndExportPageOptions (in)resRatio - The resRatio (in, optional, pass 0 if not required)pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void print(IActiveView pActiveView,
IPrinter pPrinter,
IPage pPage,
int pageID,
int resRatio,
ITrackCancel pTrackCancel)
throws IOException,
AutomationException
print in interface IPrintAndExportpActiveView - A reference to a com.esri.arcgis.carto.IActiveView (in)pPrinter - A reference to a com.esri.arcgis.output.IPrinter (in)pPage - A reference to a com.esri.arcgis.carto.IPage (in)pageID - The pageID (in, optional, pass 1 if not required)resRatio - The resRatio (in, optional, pass 0 if not required)pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void exportPages(IActiveView pActiveView,
IExportPDF pPDFExport,
IPrintAndExportPageOptions options,
double resolution,
ITrackCancel pTrackCancel)
throws IOException,
AutomationException
exportPages in interface IPrintAndExportpActiveView - A reference to a com.esri.arcgis.carto.IActiveView (in)pPDFExport - A reference to a com.esri.arcgis.output.IExportPDF (in)options - A reference to a com.esri.arcgis.output.IPrintAndExportPageOptions (in)resolution - The resolution (in)pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void export(IActiveView pActiveView,
IExport pExport,
double resolution,
boolean clip2GraphicExtent,
ITrackCancel pTrackCancel)
throws IOException,
AutomationException
export in interface IPrintAndExportpActiveView - A reference to a com.esri.arcgis.carto.IActiveView (in)pExport - A reference to a com.esri.arcgis.output.IExport (in)resolution - The resolution (in)clip2GraphicExtent - The clip2GraphicExtent (in)pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||