|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMxApplication
Provides access to members that control the Mx Application.
IPaper
,
IApplication
,
com.esri.arcgis.mx.Application
,
com.esri.arcgis.arcmapUI.IAppDisplay
Method Summary | |
---|---|
void |
copyToClipboard()
Copies the current view to the clipboard. |
void |
export()
Exports the current document. |
IAppDisplay |
getDisplay()
The application display. |
IPaper |
getPaper()
The current paper settings. |
IPrinter |
getPrinter()
The current printer settings. |
ISelectionEnvironment |
getSelectionEnvironment()
The selection environment. |
void |
setPrinterByRef(IPrinter printer)
The current printer settings. |
Method Detail |
---|
void setPrinterByRef(IPrinter printer) throws IOException, AutomationException
printer
- A reference to a com.esri.arcgis.output.IPrinter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPrinter getPrinter() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPrinter
IPaper getPaper() throws IOException, AutomationException
The IPaper interface and the IPrint interface are the main components for printing. The IPaper interface controls the current paper settings. The IPrint interface has a Paper member which must be set for the print output to be correct.
The IPaper interface is persisted in the document when 'Same As Printer' is checked on in the Page Setup dialog.
In Microsoft Windows terms, the IPaper interface is a wrapper around the GDI DEVMODE and DEVNAME structures.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPaper
IAppDisplay getDisplay() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.arcmapUI.IAppDisplay
ISelectionEnvironment getSelectionEnvironment() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISelectionEnvironment
void export() throws IOException, AutomationException
Calling this method launches the Export dialog. Supported export formats for the document are: EMF, EPS, PDF, AI, SVG, BMP, JPEG, PNG, GIF, and TIFF.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void copyToClipboard() throws IOException, AutomationException
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 |