com.esri.arcgis.carto
Interface IPrintAndExport

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IPrintAndExportProxy, PrintAndExport

public interface IPrintAndExport
extends java.io.Serializable

COM Interface 'IPrintAndExport'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Output interface.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID40a1760a_5439_4d26_b29d_0f0827a946f4
           
static int xxDummy
          Deprecated. Internal use only
 
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, java.lang.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.
 

Field Detail

IID40a1760a_5439_4d26_b29d_0f0827a946f4

static final int IID40a1760a_5439_4d26_b29d_0f0827a946f4
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getPrinterNames

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

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

getPageRow

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPageCount

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

Parameters:
activeView - A reference to a com.esri.arcgis.carto.IActiveView (in)
Returns:
The pPageCount
Throws:
java.io.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 java.io.IOException,
                       AutomationException
Print the specified pages.

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:
java.io.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 java.io.IOException,
                  AutomationException
Print the specified view.

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:
java.io.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 java.io.IOException,
                        AutomationException
Export the specified pages.

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:
java.io.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 java.io.IOException,
                   AutomationException
Export the specified view.

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.