|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.output.DibExporter
public class DibExporter
Superseded by ExportBMP. Class used to export maps to DIB (Device Independant Bitmap) format. Format also known as BMP.
Constructor Summary | |
---|---|
DibExporter()
Constructs a DibExporter using ArcGIS Engine. |
|
DibExporter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. DibExporter theDibExporter = (DibExporter) 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. |
IColor |
getBackgroundColor()
The background color of the DIB. |
int |
getBitmap()
The Windows Bitmap handle. |
short |
getBitsPerPixel()
The color depth of the DIB. |
static String |
getClsid()
getClsid. |
String |
getExportFileName()
The Export File Name. |
String |
getFileExtension()
File Extension associated with Exporter. |
String |
getFilter()
Filter String used in the CFileDialog class. |
int |
getHDIB()
Handle to in-memory DIB. |
short |
getHeight()
The height of the DIB. |
IEnvelope |
getMapExtent()
The Map Extent. |
String |
getName()
The Name of the Exporter. |
int |
getPalette()
The Windows Bitmap color palette. |
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. |
short |
getWidth()
The width of the DIB. |
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 bitmap should be written to memory. |
boolean |
isOutputWorldFile()
Indicates if a World File will be created. |
void |
setBackgroundColor(IColor ppBackgroundColor)
The background color of the DIB. |
void |
setBitsPerPixel(short pBitsPerPixel)
The color depth of the DIB. |
void |
setClipToGraphicExtent(boolean clipToGraphicsExtent)
Indicates if the Output will be clipped to the Graphics Extent. |
void |
setExportExtentByRef(IEnvelope rhs1)
The Export Extent. |
void |
setExportFileName(String fileName)
The Export File Name. |
void |
setHeight(short pHeight)
The height of the DIB. |
void |
setIsInMemory(boolean pIsInMemory)
Indicates if the bitmap should be written to memory. |
void |
setMapExtent(IEnvelope mapExtent)
The Map Extent. |
void |
setOutputWorldFile(boolean outputWorldFile)
Indicates if a World File will be created. |
void |
setPixelBounds(IEnvelope pixelBounds)
The Pixel Bounds of the Exporter. |
void |
setResolution(short res)
The Resolution of the Exporter. |
void |
setStepProgressor(IStepProgressor rhs1)
Updates a Progress Bar. |
void |
setTrackCancel(ITrackCancel rhs1)
Reacts to a Cancel. |
void |
setWidth(short pWidth)
The width of the DIB. |
int |
startExporting()
Initializes the Exporter. |
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 DibExporter() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic DibExporter(Object obj) throws IOException
DibExporter theDibExporter = (DibExporter) obj;
obj
to DibExporter
.
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 IDibExporter
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 IDibExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHDIB() throws IOException, AutomationException
getHDIB
in interface IDibExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBitsPerPixel(short pBitsPerPixel) throws IOException, AutomationException
setBitsPerPixel
in interface IDibExporter
pBitsPerPixel
- The pBitsPerPixel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getBitsPerPixel() throws IOException, AutomationException
getBitsPerPixel
in interface IDibExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBackgroundColor(IColor ppBackgroundColor) throws IOException, AutomationException
setBackgroundColor
in interface IDibExporter
ppBackgroundColor
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getBackgroundColor() throws IOException, AutomationException
getBackgroundColor
in interface IDibExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWidth(short pWidth) throws IOException, AutomationException
setWidth
in interface IDibExporter
pWidth
- The pWidth (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getWidth() throws IOException, AutomationException
getWidth
in interface IDibExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHeight(short pHeight) throws IOException, AutomationException
setHeight
in interface IDibExporter
pHeight
- The pHeight (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getHeight() throws IOException, AutomationException
getHeight
in interface IDibExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBitmap() throws IOException, AutomationException
getBitmap
in interface IBmpExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPalette() throws IOException, AutomationException
getPalette
in interface IBmpExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IExporter
getName
in interface IExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFilter() throws IOException, AutomationException
getFilter
in interface IExporter
getFilter
in interface IExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFileExtension() throws IOException, AutomationException
getFileExtension
in interface IExporter
getFileExtension
in interface IExporter2
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
setPixelBounds
in interface IExporter2
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
getPixelBounds
in interface IExporter2
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
setExportFileName
in interface IExporter2
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
getExportFileName
in interface IExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getResolution() throws IOException, AutomationException
getResolution
in interface IExporter
getResolution
in interface IExporter2
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
setResolution
in interface IExporter2
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
isClipToGraphicExtent
in interface IExporter2
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
setClipToGraphicExtent
in interface IExporter2
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
startExporting
in interface IExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void finishExporting() throws IOException, AutomationException
finishExporting
in interface IExporter
finishExporting
in interface IExporter2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExportExtentByRef(IEnvelope rhs1) throws IOException, AutomationException
setExportExtentByRef
in interface IExporter2
rhs1
- 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 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 setMapExtent(IEnvelope mapExtent) throws IOException, AutomationException
setMapExtent
in interface IWorldFileSettings
mapExtent
- 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 getMapExtent() throws IOException, AutomationException
The MapExtent property holds the envelope that will be used during creation of a world file or writing of a GeoTIFF header. Get the map extent envelope from the Extent property IActiveView on a Map object.
getMapExtent
in interface IWorldFileSettings
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutputWorldFile(boolean outputWorldFile) throws IOException, AutomationException
setOutputWorldFile
in interface IWorldFileSettings
outputWorldFile
- The outputWorldFile (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOutputWorldFile() throws IOException, AutomationException
isOutputWorldFile
in interface IWorldFileSettings
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.public void setStepProgressor(IStepProgressor rhs1) throws IOException, AutomationException
setStepProgressor
in interface IStepProgressorSetup
rhs1
- A reference to a com.esri.arcgis.system.IStepProgressor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTrackCancel(ITrackCancel rhs1) throws IOException, AutomationException
setTrackCancel
in interface ITrackCancelSetup
rhs1
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
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 |