com.esri.arcgis.analyst3dUI
Class SceneExportFile2dDialog

java.lang.Object
  extended by com.esri.arcgis.analyst3dUI.SceneExportFile2dDialog
All Implemented Interfaces:
ISceneExportFile2dDialog, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class SceneExportFile2dDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISceneExportFile2dDialog

The ESRI Scene Export File 2d Dialog.

Remarks

This coclass is meant to replace SceneExport2dDialog coclass. It offers more options on the UI than SceneExport2dDialog does.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
SceneExportFile2dDialog()
          Constructs a SceneExportFile2dDialog using ArcGIS Engine.
SceneExportFile2dDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SceneExportFile2dDialog theSceneExportFile2dDialog = (SceneExportFile2dDialog) obj;
 
Method Summary
 boolean doModal(IEnvelope pPixelBounds, double res)
          Displays Scene Export File Dialog.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IExport getExport()
          The Scene exporter.
 IEnvelope getMapExtent()
          The Map Extent which gets passed to IWorldFileSettings.
 double getSceneSize()
          The Scene size.
 int hashCode()
          the hashcode for this object
 void setDocumentName(String rhs1)
          Name of the Active Document.
 void setMapExtent(IEnvelope mapExtent)
          The Map Extent which gets passed to IWorldFileSettings.
 
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

SceneExportFile2dDialog

public SceneExportFile2dDialog()
                        throws IOException,
                               UnknownHostException
Constructs a SceneExportFile2dDialog using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SceneExportFile2dDialog

public SceneExportFile2dDialog(Object obj)
                        throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SceneExportFile2dDialog theSceneExportFile2dDialog = (SceneExportFile2dDialog) obj;

Construct a SceneExportFile2dDialog using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SceneExportFile2dDialog.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getExport

public IExport getExport()
                  throws IOException,
                         AutomationException
The Scene exporter.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

Specified by:
getExport in interface ISceneExportFile2dDialog
Returns:
A reference to a com.esri.arcgis.output.IExport
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSceneSize

public double getSceneSize()
                    throws IOException,
                           AutomationException
The Scene size.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

Specified by:
getSceneSize in interface ISceneExportFile2dDialog
Returns:
The pSceneSize
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDocumentName

public void setDocumentName(String rhs1)
                     throws IOException,
                            AutomationException
Name of the Active Document.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

Specified by:
setDocumentName in interface ISceneExportFile2dDialog
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

public boolean doModal(IEnvelope pPixelBounds,
                       double res)
                throws IOException,
                       AutomationException
Displays Scene Export File Dialog.

Remarks

The first argument of this method, pixel extent, is represented by an Envelope object. The resulting scene export pixel extent is calculated by timing its width and length with a factor calculated by dividing 300, the default DPI value, by the resolution value, the second argument. For example, if the pixel extent is 100, 100, 300, and 200, meaning its width is 200 and height 100, if the resolution set is 150, then the resulting image extent would be 400 by 200, with the resolution at 300 on the UI unchanged. If you change the resolution to 150, same as in the code, then the original pixel extent is honered.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

Specified by:
doModal in interface ISceneExportFile2dDialog
Parameters:
pPixelBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
res - The res (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMapExtent

public IEnvelope getMapExtent()
                       throws IOException,
                              AutomationException
The Map Extent which gets passed to IWorldFileSettings.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

Specified by:
getMapExtent in interface ISceneExportFile2dDialog
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMapExtent

public void setMapExtent(IEnvelope mapExtent)
                  throws IOException,
                         AutomationException
The Map Extent which gets passed to IWorldFileSettings.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

Specified by:
setMapExtent in interface ISceneExportFile2dDialog
Parameters:
mapExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.