|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setIsInMemory(boolean pIsInMemory) throws IOException, AutomationException
setIsInMemory
in interface IEmfExporter
pIsInMemory
- 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 IEmfExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHENHMETAFILE() throws IOException, AutomationException
getHENHMETAFILE
in interface IEmfExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int takeHENHMETAFILE() throws IOException, AutomationException
takeHENHMETAFILE
in interface IEmfExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String pDescription) throws IOException, AutomationException
setDescription
in interface IEmfExporter
pDescription
- 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 IEmfExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFilter() throws IOException, AutomationException
getFilter
in interface IExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFileExtension() throws IOException, AutomationException
getFileExtension
in interface IExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPixelBounds(IEnvelope pixelBounds) throws IOException, AutomationException
setPixelBounds
in interface IExporter
pixelBounds
- 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 IExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExportFileName(String fileName) throws IOException, AutomationException
setExportFileName
in interface IExporter
fileName
- 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 IExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getResolution() throws IOException, AutomationException
getResolution
in interface IExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setResolution(short res) throws IOException, AutomationException
setResolution
in interface IExporter
res
- 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 IExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setClipToGraphicExtent(boolean clipToGraphicsExtent) throws IOException, AutomationException
setClipToGraphicExtent
in interface IExporter
clipToGraphicsExtent
- 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 IExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void finishExporting() throws IOException, AutomationException
finishExporting
in interface IExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPriority() throws IOException, AutomationException
getPriority
in interface IExporterPriority
IOException
- 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 ISupportErrorInfo
riid
- 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 IOutputCleanup
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 |