com.esri.arcgis.carto
Interface IPrintAndExport

All Superinterfaces:
Serializable
All Known Implementing Classes:
PrintAndExport

public interface IPrintAndExport
extends Serializable

Output interface.

Product Availability

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


Method Summary
 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.
 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.
 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.
 

Method Detail

getPrinterNames

IEnumBSTR getPrinterNames()
                          throws IOException,
                                 AutomationException
The names of available printers.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPageRow

IRow getPageRow(IActiveView activeView,
                String pageName)
                throws IOException,
                       AutomationException
The row that defines the specified data driven page.

Product Availability

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

Parameters:
activeView - A reference to a com.esri.arcgis.carto.IActiveView (in)
pageName - The pageName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPageCount

int getPageCount(IActiveView activeView)
                 throws IOException,
                        AutomationException
The data driven pages count.

Product Availability

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

Parameters:
activeView - A reference to a com.esri.arcgis.carto.IActiveView (in)
Returns:
The pPageCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

printPages

void printPages(IActiveView pActiveView,
                IPrinter pPrinter,
                IPage pPage,
                IPrintAndExportPageOptions options,
                int resRatio,
                ITrackCancel pTrackCancel)
                throws IOException,
                       AutomationException
Print the specified pages.

Product Availability

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

Parameters:
pActiveView - 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)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

print

void print(IActiveView pActiveView,
           IPrinter pPrinter,
           IPage pPage,
           int pageID,
           int resRatio,
           ITrackCancel pTrackCancel)
           throws IOException,
                  AutomationException
Print the specified view.

Product Availability

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

Parameters:
pActiveView - 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)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportPages

void exportPages(IActiveView pActiveView,
                 IExportPDF pPDFExport,
                 IPrintAndExportPageOptions options,
                 double resolution,
                 ITrackCancel pTrackCancel)
                 throws IOException,
                        AutomationException
Export the specified pages.

Product Availability

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

Parameters:
pActiveView - 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)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

export

void export(IActiveView pActiveView,
            IExport pExport,
            double resolution,
            boolean clip2GraphicExtent,
            ITrackCancel pTrackCancel)
            throws IOException,
                   AutomationException
Export the specified view.

Product Availability

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

Parameters:
pActiveView - 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)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.