|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.output.EmfExporter
public class EmfExporter
Superseded by ExportEMF. Class used to export maps to Windows Enhanced Metafile (EMF) format.
| Constructor Summary | |
|---|---|
EmfExporter()
Constructs a EmfExporter using ArcGIS Engine. |
|
EmfExporter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. EmfExporter theEmfExporter = (EmfExporter) obj; |
|
| Method Summary | |
|---|---|
void |
cleanup()
Cleanup should clean all temporary files, free used memory, etc... |
boolean |
equals(Object o)
Compare this object with another |
void |
finishExporting()
Shuts down the Exporter. |
static String |
getClsid()
getClsid. |
String |
getDescription()
A description string to embed in the file. |
String |
getExportFileName()
The Export File Name. |
String |
getFileExtension()
File Extension associated with Exporter. |
String |
getFilter()
Filter String used in the CFileDialog class. |
int |
getHENHMETAFILE()
Handle to in-memory metafile. |
String |
getName()
The Name of the Exporter. |
IEnvelope |
getPixelBounds()
The Pixel Bounds of the Exporter. |
int |
getPriority()
Exporter's priority - the order of appearance in the user interface. |
short |
getResolution()
The Resolution of the Exporter. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isClipToGraphicExtent()
Indicates if the Output will be clipped to the Graphics Extent. |
boolean |
isInMemory()
Indicates if the metafile will be written to memory. |
void |
setClipToGraphicExtent(boolean clipToGraphicsExtent)
Indicates if the Output will be clipped to the Graphics Extent. |
void |
setDescription(String pDescription)
A description string to embed in the file. |
void |
setExportFileName(String fileName)
The Export File Name. |
void |
setIsInMemory(boolean pIsInMemory)
Indicates if the metafile will be written to memory. |
void |
setPixelBounds(IEnvelope pixelBounds)
The Pixel Bounds of the Exporter. |
void |
setResolution(short res)
The Resolution of the Exporter. |
int |
startExporting()
Initializes the Exporter. |
int |
takeHENHMETAFILE()
Returns the handle to the in-memory metafile. |
| 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 EmfExporter()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public EmfExporter(Object obj)
throws IOException
EmfExporter theEmfExporter = (EmfExporter) obj;
obj to EmfExporter.
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 void setIsInMemory(boolean pIsInMemory)
throws IOException,
AutomationException
setIsInMemory in interface IEmfExporterpIsInMemory - The pIsInMemory (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isInMemory()
throws IOException,
AutomationException
isInMemory in interface IEmfExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHENHMETAFILE()
throws IOException,
AutomationException
getHENHMETAFILE in interface IEmfExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int takeHENHMETAFILE()
throws IOException,
AutomationException
takeHENHMETAFILE in interface IEmfExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDescription(String pDescription)
throws IOException,
AutomationException
setDescription in interface IEmfExporterpDescription - The pDescription (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDescription()
throws IOException,
AutomationException
getDescription in interface IEmfExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getName()
throws IOException,
AutomationException
getName in interface IExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getFilter()
throws IOException,
AutomationException
getFilter in interface IExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getFileExtension()
throws IOException,
AutomationException
getFileExtension in interface IExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPixelBounds(IEnvelope pixelBounds)
throws IOException,
AutomationException
setPixelBounds in interface IExporterpixelBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getPixelBounds()
throws IOException,
AutomationException
getPixelBounds in interface IExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExportFileName(String fileName)
throws IOException,
AutomationException
setExportFileName in interface IExporterfileName - The fileName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getExportFileName()
throws IOException,
AutomationException
getExportFileName in interface IExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getResolution()
throws IOException,
AutomationException
getResolution in interface IExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setResolution(short res)
throws IOException,
AutomationException
setResolution in interface IExporterres - The res (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isClipToGraphicExtent()
throws IOException,
AutomationException
isClipToGraphicExtent in interface IExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setClipToGraphicExtent(boolean clipToGraphicsExtent)
throws IOException,
AutomationException
setClipToGraphicExtent in interface IExporterclipToGraphicsExtent - The clipToGraphicsExtent (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int startExporting()
throws IOException,
AutomationException
startExporting in interface IExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void finishExporting()
throws IOException,
AutomationException
finishExporting in interface IExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPriority()
throws IOException,
AutomationException
getPriority in interface IExporterPriorityIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void cleanup()
throws IOException,
AutomationException
cleanup in interface IOutputCleanupIOException - 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 | ||||||||