com.esri.arcgis.output
Class ExportBMP

java.lang.Object
  extended bycom.esri.arcgis.output.ExportBMP
All Implemented Interfaces:
IExport, IExportBMP, IExportImage, ISettingsInRegistry, ISupportErrorInfo, IWorldFileSettings, IWorldFileSettings2, java.io.Serializable

public class ExportBMP
extends java.lang.Object
implements IExportImage, IExportBMP, IExport, IWorldFileSettings, IWorldFileSettings2, ISettingsInRegistry, ISupportErrorInfo

Class used to export maps to BMP (Windows Bitmap) format.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Remarks

Use the ExportBMP CoClass to export your map to BMP (Windows Bitmap) format.  BMP files are simple, native Windows raster images. BMPs can store pixel data at several bit depths and can be compressed. They do not scale as well as vector files, and may appear blocky or jagged when increased in size.  The BMP format is also referred to as DIB (Device Independent Bitmap) format.

The internal data structure of BMP files is shared with Windows bitmap memory images, an in-memory raster used in Windows GDI.  Because of this tight integration with Windows GDI, BMP files generated by the ExportBMP CoClass provide an ideal starting point for implementing a custom image format exporter.

See Also:
Serialized Form

Constructor Summary
ExportBMP()
          Constructs a ExportBMP using ArcGIS Engine.
ExportBMP(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
Method Summary
 void cleanup()
          Cleanup should clean all temporary files, free used memory, etc...
 boolean equals(java.lang.Object o)
          Compare this object with another
 void finishExporting()
          Shuts down the Exporter.
 IExport getAsIExport()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IExportBMP getAsIExportBMP()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IExportImage getAsIExportImage()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ISettingsInRegistry getAsISettingsInRegistry()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ISupportErrorInfo getAsISupportErrorInfo()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IWorldFileSettings getAsIWorldFileSettings()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IWorldFileSettings2 getAsIWorldFileSettings2()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IColor getBackgroundColor()
          The background color of the Image.
 int getBiLevelThreshold()
          The Threshold value for BiLevel images.
 int getBitmap()
          The Windows Bitmap handle.
static java.lang.String getClsid()
           
 java.lang.String getExportFileName()
          The Export File Name.
 java.lang.String getFilter()
          Filter String used in the CFileDialog class.
 int getHeight()
          The height of the Image.
 int getImageType()
          Export Image Type.
 IEnvelope getMapExtent()
          The Map Extent.
 double getMapRotation()
          The Map rotation angle in degrees.
 java.lang.String getName()
          The Name of the Exporter.
 int getPalette()
          The Windows Bitmap color palette.
 IEnvelope getPixelBounds()
          The Export Bounds in Pixels (The Pixel Bounds of the Export surface).
 int getPriority()
          Exporter's priority - the order of appearance in the user interface.
 double getResolution()
          The Export Resolution.
 int getWidth()
          The width of the Image.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          Supported Platforms
 boolean isOutputWorldFile()
          Indicates if a World File will be created.
 boolean isRLECompression()
          The Windows Bitmap compression scheme for 8 bits per pixel and 4 bits per pixel.
 void restoreDefault()
          Restore the default object settings.
 void restoreForCurrentUser(java.lang.String bstrRegPath)
          Restore object settings.
 void setBackgroundColor(IColor ppBackgroundColor)
          The background color of the Image.
 void setBiLevelThreshold(int threshold)
          The Threshold value for BiLevel images.
 void setExportFileName(java.lang.String fileName)
          The Export File Name.
 void setHeight(int pHeight)
          The height of the Image.
 void setImageType(int pimageType)
          Export Image Type.
 void setMapExtent(IEnvelope mapExtent)
          The Map Extent.
 void setMapRotation(double mapRotAngle)
          The Map rotation angle in degrees.
 void setOutputWorldFile(boolean outputWorldFile)
          Indicates if a World File will be created.
 void setPixelBounds(IEnvelope pixelBounds)
          The Export Bounds in Pixels (The Pixel Bounds of the Export surface).
 void setResolution(double res)
          The Export Resolution.
 void setRLECompression(boolean compression)
          The Windows Bitmap compression scheme for 8 bits per pixel and 4 bits per pixel.
 void setStepProgressorByRef(IStepProgressor rhs1)
          Export will update a Progress Bar if StepProgressor is not NULL.
 void setTrackCancelByRef(ITrackCancel rhs1)
          Export will react on Cancel if TrackCancel is not NULL.
 void setWidth(int pWidth)
          The width of the Image.
 int startExporting()
          Initializes the Exporter.
 void storeForCurrentUser(java.lang.String bstrRegPath)
          Store object settings.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportBMP

public ExportBMP()
          throws java.io.IOException,
                 java.net.UnknownHostException
Constructs a ExportBMP using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ExportBMP

public ExportBMP(java.lang.Object obj)
          throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.

Construct a ExportBMP using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ExportBMP.
ExportBMP theExportBMP = (ExportBMP) obj;

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

getClsid

public static java.lang.String getClsid()

getAsIExportImage

public IExportImage getAsIExportImage()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIExportBMP

public IExportBMP getAsIExportBMP()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIExport

public IExport getAsIExport()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIWorldFileSettings

public IWorldFileSettings getAsIWorldFileSettings()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIWorldFileSettings2

public IWorldFileSettings2 getAsIWorldFileSettings2()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsISettingsInRegistry

public ISettingsInRegistry getAsISettingsInRegistry()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsISupportErrorInfo

public ISupportErrorInfo getAsISupportErrorInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

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


hashCode

public int hashCode()
the hashcode for this object


setImageType

public void setImageType(int pimageType)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IExportImage
Export Image Type.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setImageType in interface IExportImage
Parameters:
pimageType - A com.esri.arcgis.output.esriExportImageType constant (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getImageType

public int getImageType()
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IExportImage
Export Image Type.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getImageType in interface IExportImage
Returns:
A com.esri.arcgis.output.esriExportImageType constant
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setBackgroundColor

public void setBackgroundColor(IColor ppBackgroundColor)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IExportImage
The background color of the Image.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setBackgroundColor in interface IExportImage
Parameters:
ppBackgroundColor - A reference to a com.esri.arcgis.display.IColor (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getBackgroundColor

public IColor getBackgroundColor()
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IExportImage
The background color of the Image.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getBackgroundColor in interface IExportImage
Returns:
A reference to a com.esri.arcgis.display.IColor
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setWidth

public void setWidth(int pWidth)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IExportImage
The width of the Image. If width is zero, screen width is used.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setWidth in interface IExportImage
Parameters:
pWidth - The pWidth (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

public int getWidth()
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IExportImage
The width of the Image. If width is zero, screen width is used.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getWidth in interface IExportImage
Returns:
The pWidth
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setHeight

public void setHeight(int pHeight)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IExportImage
The height of the Image. If height is zero, screen height is used.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setHeight in interface IExportImage
Parameters:
pHeight - The pHeight (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getHeight

public int getHeight()
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IExportImage
The height of the Image. If height is zero, screen height is used.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getHeight in interface IExportImage
Returns:
The pHeight
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getBitmap

public int getBitmap()
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IExportBMP
The Windows Bitmap handle.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getBitmap in interface IExportBMP
Returns:
The phBmp (A COM typedef)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getPalette

public int getPalette()
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IExportBMP
The Windows Bitmap color palette.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getPalette in interface IExportBMP
Returns:
The phPal (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRLECompression

public void setRLECompression(boolean compression)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IExportBMP
The Windows Bitmap compression scheme for 8 bits per pixel and 4 bits per pixel.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setRLECompression in interface IExportBMP
Parameters:
compression - The compression (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isRLECompression

public boolean isRLECompression()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IExportBMP
The Windows Bitmap compression scheme for 8 bits per pixel and 4 bits per pixel.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isRLECompression in interface IExportBMP
Returns:
The compression
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setBiLevelThreshold

public void setBiLevelThreshold(int threshold)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IExportBMP
The Threshold value for BiLevel images. The Threshold value will be used if esriExportImageType is equal to esriExportImageTypeBiLevelThreshold.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setBiLevelThreshold in interface IExportBMP
Parameters:
threshold - The threshold (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getBiLevelThreshold

public int getBiLevelThreshold()
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IExportBMP
The Threshold value for BiLevel images. The Threshold value will be used if esriExportImageType is equal to esriExportImageTypeBiLevelThreshold.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getBiLevelThreshold in interface IExportBMP
Returns:
The threshold
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IExport
The Name of the Exporter.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getName in interface IExport
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFilter

public java.lang.String getFilter()
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: IExport
Filter String used in the CFileDialog class.

Supported Platforms

Windows, Solaris, Linux

Remarks

This method is primarily used for defining the extension of the export file name within the Export Map dialog.  The string contained in this value is a null-terminated pattern string that follows the standard for a Windows Open and Save As dialog filter.  The value of this property can change according to the state of the export object.  An ExportSVG object, for example, returns "SVG (*.svg)|*.svg" when its compression property is False, and "Compressed SVG (*.svgz)|*.svgz" when the compression property is True.  This makes the Filter ideal for automatically assigning the appropriate file name extension for an export file.

 

Specified by:
getFilter in interface IExport
Returns:
The filter
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getPriority

public int getPriority()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IExport
Exporter's priority - the order of appearance in the user interface.

Supported Platforms

Windows, Solaris, Linux

Remarks

Primarily used by export dialogs for ordering the appearance of export formats in the 'Save As...' pulldown list.  By ordering through this property, the export dialog can group similar formats together.  For example, all raster export formats are grouped together in the 'Save As...' list.

Specified by:
getPriority in interface IExport
Returns:
The pPriority
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStepProgressorByRef

public void setStepProgressorByRef(IStepProgressor rhs1)
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: IExport
Export will update a Progress Bar if StepProgressor is not NULL.

Specified by:
setStepProgressorByRef in interface IExport
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.IStepProgressor (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setTrackCancelByRef

public void setTrackCancelByRef(ITrackCancel rhs1)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IExport
Export will react on Cancel if TrackCancel is not NULL.

Specified by:
setTrackCancelByRef in interface IExport
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelBounds

public void setPixelBounds(IEnvelope pixelBounds)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IExport
The Export Bounds in Pixels (The Pixel Bounds of the Export surface).

Supported Platforms

Windows, Solaris, Linux

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

getPixelBounds

public IEnvelope getPixelBounds()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IExport
The Export Bounds in Pixels (The Pixel Bounds of the Export surface).

Supported Platforms

Windows, Solaris, Linux

Remarks


The PixelBounds represents the height and width of the export image in device units (usually pixels for a export file).  To set up values to use in this property, get the height and width of the image draw to screen.  Then multiply each dimension by the ratio of the output resolution to screen resolution.

 

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

setExportFileName

public void setExportFileName(java.lang.String fileName)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IExport
The Export File Name.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setExportFileName in interface IExport
Parameters:
fileName - The fileName (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getExportFileName

public java.lang.String getExportFileName()
                                   throws java.io.IOException,
                                          AutomationException
Description copied from interface: IExport
The Export File Name.

Supported Platforms

Windows, Solaris, Linux

Remarks

You must assign a value to the ExportFileName property before calling the IExport::StartExporting() method.  There are two exceptions to this.  If IExport is controlling a ExportBMP or ExportEMF object, you can assign an empty string to the ExportFileName property without an error being raised on StartExporting().  This is to allow cases where the application will use the export object as a intermediate container for a drawing, and won't be written to an export file.

Specified by:
getExportFileName in interface IExport
Returns:
The fileName
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setResolution

public void setResolution(double res)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IExport
The Export Resolution.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setResolution in interface IExport
Parameters:
res - The res (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResolution

public double getResolution()
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IExport
The Export Resolution.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getResolution in interface IExport
Returns:
The res
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

startExporting

public int startExporting()
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IExport
Initializes the Exporter.

Supported Platforms

Windows, Solaris, Linux

Remarks

The StartExporting method causes the export object to allocate memory for the export based on resolution, bit depth, and pixel bounds.  The method returns a long that represents the hDC (Windows GDI Device Context handle) of the export object.  After this method is called, the export object is ready to receive GDI draw instructions directed to its hDC.

Specified by:
startExporting in interface IExport
Returns:
The hDC (A COM typedef)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

finishExporting

public void finishExporting()
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IExport
Shuts down the Exporter.

Supported Platforms

Windows, Solaris, Linux

Specified by:
finishExporting in interface IExport
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

cleanup

public void cleanup()
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IExport
Cleanup should clean all temporary files, free used memory, etc...

Supported Platforms

Windows, Solaris, Linux

Specified by:
cleanup in interface IExport
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setMapExtent

public void setMapExtent(IEnvelope mapExtent)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IWorldFileSettings
The Map Extent.

Supported Platforms

Windows, Solaris, Linux

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

getMapExtent

public IEnvelope getMapExtent()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IWorldFileSettings
The Map Extent.

Supported Platforms

Windows, Solaris, Linux

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

setOutputWorldFile

public void setOutputWorldFile(boolean outputWorldFile)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IWorldFileSettings
Indicates if a World File will be created.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setOutputWorldFile in interface IWorldFileSettings
Parameters:
outputWorldFile - The outputWorldFile (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isOutputWorldFile

public boolean isOutputWorldFile()
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IWorldFileSettings
Indicates if a World File will be created.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isOutputWorldFile in interface IWorldFileSettings
Returns:
The outputWorldFile
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMapRotation

public void setMapRotation(double mapRotAngle)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IWorldFileSettings2
The Map rotation angle in degrees.

Specified by:
setMapRotation in interface IWorldFileSettings2
Parameters:
mapRotAngle - The mapRotAngle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMapRotation

public double getMapRotation()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IWorldFileSettings2
The Map rotation angle in degrees.

Remarks

When the map is part of a rotated dataframe, assign the dataframe rotation angle (in degrees) to this property.  This will ensure that the world file or GeoTIFF header appropriately accounts for rotation of the image.  The rotation angle of a map can be read from IDisplayTransformation::Rotation. The display transformation of the active view can be accessed via IActiveView::ScreenDisplay.

Specified by:
getMapRotation in interface IWorldFileSettings2
Returns:
The mapRotAngle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

restoreForCurrentUser

public void restoreForCurrentUser(java.lang.String bstrRegPath)
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: ISettingsInRegistry
Restore object settings.

Supported Platforms

Windows, Solaris, Linux

Specified by:
restoreForCurrentUser in interface ISettingsInRegistry
Parameters:
bstrRegPath - The bstrRegPath (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

storeForCurrentUser

public void storeForCurrentUser(java.lang.String bstrRegPath)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: ISettingsInRegistry
Store object settings.

Supported Platforms

Windows, Solaris, Linux

Specified by:
storeForCurrentUser in interface ISettingsInRegistry
Parameters:
bstrRegPath - The bstrRegPath (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

restoreDefault

public void restoreDefault()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: ISettingsInRegistry
Restore the default object settings.

Supported Platforms

Windows, Solaris, Linux

Specified by:
restoreDefault in interface ISettingsInRegistry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
Description copied from interface: ISupportErrorInfo

Supported Platforms

Windows, Solaris, Linux

Description

Indicates whether the interface supports IErrorInfo.

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.