com.esri.arcgis.output
Interface IEmfExporter

All Superinterfaces:
Serializable
All Known Implementing Classes:
EmfExporter

public interface IEmfExporter
extends Serializable

Superseded by IExportEMF. Provides access to members that control the EMF (Windows Enhanced Metafile) Exporter.

Superseded By

IExportEMF

Product Availability

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


Method Summary
 String getDescription()
          A description string to embed in the file.
 int getHENHMETAFILE()
          Handle to in-memory metafile.
 boolean isInMemory()
          Indicates if the metafile will be written to memory.
 void setDescription(String pDescription)
          A description string to embed in the file.
 void setIsInMemory(boolean pIsInMemory)
          Indicates if the metafile will be written to memory.
 int takeHENHMETAFILE()
          Returns the handle to the in-memory metafile.
 

Method Detail

setIsInMemory

void setIsInMemory(boolean pIsInMemory)
                   throws IOException,
                          AutomationException
Indicates if the metafile will be written to memory.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pIsInMemory - The pIsInMemory (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isInMemory

boolean isInMemory()
                   throws IOException,
                          AutomationException
Indicates if the metafile will be written to memory.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The pIsInMemory
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHENHMETAFILE

int getHENHMETAFILE()
                    throws IOException,
                           AutomationException
Handle to in-memory metafile. Valid only after ReleaseDC has been called.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The pHandle (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

takeHENHMETAFILE

int takeHENHMETAFILE()
                     throws IOException,
                            AutomationException
Returns the handle to the in-memory metafile. Valid only after ReleaseDC has been called. Ownership of the handle is transferred to the client who must call DeleteEnhMetafile on the returned handle. Subsequent calls to this routine will return 0.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The pHandle (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDescription

void setDescription(String pDescription)
                    throws IOException,
                           AutomationException
A description string to embed in the file.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pDescription - The pDescription (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

String getDescription()
                      throws IOException,
                             AutomationException
A description string to embed in the file.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The pDescription
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.