|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.output.ExportTIFF
Class used to export maps to TIFF (Tagged Image File Format).
Use the ExportTIFF CoClass to export your map to TIFF (Tagged Image File Format) format. TIFF files are the most versatile raster format. TIFFs can store pixel data at several bit depths and can be compressed with any of a selection of compression techniques. They are the best choice for importing into image editing applications across operating systems.
| Constructor Summary | |
ExportTIFF()
Constructs a ExportTIFF using ArcGIS Engine. |
|
ExportTIFF(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. |
IExportImage |
getAsIExportImage()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IExportTIFF |
getAsIExportTIFF()
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. |
static java.lang.String |
getClsid()
|
int |
getCompressionType()
The TIFF Compression type. |
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. |
short |
getJPEGOrDeflateQuality()
The JPEG or Deflate (depending on the Compression type) compression / image quality. |
IEnvelope |
getMapExtent()
The Map Extent. |
double |
getMapRotation()
The Map rotation angle in degrees. |
java.lang.String |
getName()
The Name of the Exporter. |
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 |
isGeoTiff()
The option to write GeoTIFF tags. |
boolean |
isOutputWorldFile()
Indicates if a World File will be created. |
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 |
setCompressionType(int type)
The TIFF Compression type. |
void |
setExportFileName(java.lang.String fileName)
The Export File Name. |
void |
setGeoTiff(boolean bGeoTiff)
The option to write GeoTIFF tags. |
void |
setHeight(int pHeight)
The height of the Image. |
void |
setImageType(int pimageType)
Export Image Type. |
void |
setJPEGOrDeflateQuality(short quality)
The JPEG or Deflate (depending on the Compression type) compression / image quality. |
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 |
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 |
public ExportTIFF()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public ExportTIFF(java.lang.Object obj)
throws java.io.IOException
obj to ExportTIFF. ExportTIFF theExportTIFF = (ExportTIFF) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IExportImage getAsIExportImage()
public IExportTIFF getAsIExportTIFF()
public IExport getAsIExport()
public IWorldFileSettings getAsIWorldFileSettings()
public IWorldFileSettings2 getAsIWorldFileSettings2()
public ISettingsInRegistry getAsISettingsInRegistry()
public ISupportErrorInfo getAsISupportErrorInfo()
public boolean equals(java.lang.Object o)
public int hashCode()
public void setImageType(int pimageType)
throws java.io.IOException,
AutomationException
IExportImage
setImageType in interface IExportImagepimageType - A com.esri.arcgis.output.esriExportImageType constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getImageType()
throws java.io.IOException,
AutomationException
IExportImage
getImageType in interface IExportImageAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setBackgroundColor(IColor ppBackgroundColor)
throws java.io.IOException,
AutomationException
IExportImage
setBackgroundColor in interface IExportImageppBackgroundColor - A reference to a com.esri.arcgis.display.IColor (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IColor getBackgroundColor()
throws java.io.IOException,
AutomationException
IExportImage
getBackgroundColor in interface IExportImageAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setWidth(int pWidth)
throws java.io.IOException,
AutomationException
IExportImage
setWidth in interface IExportImagepWidth - The pWidth (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getWidth()
throws java.io.IOException,
AutomationException
IExportImage
getWidth in interface IExportImageAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setHeight(int pHeight)
throws java.io.IOException,
AutomationException
IExportImage
setHeight in interface IExportImagepHeight - The pHeight (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getHeight()
throws java.io.IOException,
AutomationException
IExportImage
getHeight in interface IExportImageAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCompressionType(int type)
throws java.io.IOException,
AutomationException
IExportTIFF
setCompressionType in interface IExportTIFFtype - A com.esri.arcgis.output.esriTIFFCompression constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getCompressionType()
throws java.io.IOException,
AutomationException
IExportTIFFThe selected compression type must be appropriate for the current image type. The image type can be set via the IExportImage::ImageType property. If you select the wrong image compression type for the current image type, selecting esriTIFFCompressionFax4 for a TrueColor image, for example, the export object will throw a runtime error. The error will state "Object set up incorrectly and cannot perform the requested operation."
getCompressionType in interface IExportTIFFAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setGeoTiff(boolean bGeoTiff)
throws java.io.IOException,
AutomationException
IExportTIFF
setGeoTiff in interface IExportTIFFbGeoTiff - The bGeoTiff (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isGeoTiff()
throws java.io.IOException,
AutomationException
IExportTIFFValue of True will write a GeoTiff header in the output TIFF file. The GeoTiff header will include the spatial reference values assigned to IWorldFileSettings::MapExtent.
isGeoTiff in interface IExportTIFFjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setJPEGOrDeflateQuality(short quality)
throws java.io.IOException,
AutomationException
IExportTIFF
setJPEGOrDeflateQuality in interface IExportTIFFquality - The quality (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public short getJPEGOrDeflateQuality()
throws java.io.IOException,
AutomationException
IExportTIFF
getJPEGOrDeflateQuality in interface IExportTIFFjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBiLevelThreshold(int threshold)
throws java.io.IOException,
AutomationException
IExportTIFF
setBiLevelThreshold in interface IExportTIFFthreshold - The threshold (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getBiLevelThreshold()
throws java.io.IOException,
AutomationException
IExportTIFF
getBiLevelThreshold in interface IExportTIFFAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
IExport
getName in interface IExportjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getFilter()
throws java.io.IOException,
AutomationException
IExportThis 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.
getFilter in interface IExportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getPriority()
throws java.io.IOException,
AutomationException
IExportPrimarily 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.
getPriority in interface IExportjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStepProgressorByRef(IStepProgressor rhs1)
throws java.io.IOException,
AutomationException
IExport
setStepProgressorByRef in interface IExportrhs1 - A reference to a com.esri.arcgis.system.IStepProgressor (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setTrackCancelByRef(ITrackCancel rhs1)
throws java.io.IOException,
AutomationException
IExport
setTrackCancelByRef in interface IExportrhs1 - A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPixelBounds(IEnvelope pixelBounds)
throws java.io.IOException,
AutomationException
IExport
setPixelBounds in interface IExportpixelBounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnvelope getPixelBounds()
throws java.io.IOException,
AutomationException
IExport
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.
getPixelBounds in interface IExportjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExportFileName(java.lang.String fileName)
throws java.io.IOException,
AutomationException
IExport
setExportFileName in interface IExportfileName - The fileName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getExportFileName()
throws java.io.IOException,
AutomationException
IExportYou 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.
getExportFileName in interface IExportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setResolution(double res)
throws java.io.IOException,
AutomationException
IExport
setResolution in interface IExportres - The res (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getResolution()
throws java.io.IOException,
AutomationException
IExport
getResolution in interface IExportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int startExporting()
throws java.io.IOException,
AutomationException
IExportThe 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.
startExporting in interface IExportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void finishExporting()
throws java.io.IOException,
AutomationException
IExport
finishExporting in interface IExportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void cleanup()
throws java.io.IOException,
AutomationException
IExport
cleanup in interface IExportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setMapExtent(IEnvelope mapExtent)
throws java.io.IOException,
AutomationException
IWorldFileSettings
setMapExtent in interface IWorldFileSettingsmapExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getMapExtent()
throws java.io.IOException,
AutomationException
IWorldFileSettings
getMapExtent in interface IWorldFileSettingsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOutputWorldFile(boolean outputWorldFile)
throws java.io.IOException,
AutomationException
IWorldFileSettings
setOutputWorldFile in interface IWorldFileSettingsoutputWorldFile - The outputWorldFile (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isOutputWorldFile()
throws java.io.IOException,
AutomationException
IWorldFileSettings
isOutputWorldFile in interface IWorldFileSettingsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapRotation(double mapRotAngle)
throws java.io.IOException,
AutomationException
IWorldFileSettings2
setMapRotation in interface IWorldFileSettings2mapRotAngle - The mapRotAngle (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMapRotation()
throws java.io.IOException,
AutomationException
IWorldFileSettings2When 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.
getMapRotation in interface IWorldFileSettings2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void restoreForCurrentUser(java.lang.String bstrRegPath)
throws java.io.IOException,
AutomationException
ISettingsInRegistry
restoreForCurrentUser in interface ISettingsInRegistrybstrRegPath - The bstrRegPath (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void storeForCurrentUser(java.lang.String bstrRegPath)
throws java.io.IOException,
AutomationException
ISettingsInRegistry
storeForCurrentUser in interface ISettingsInRegistrybstrRegPath - The bstrRegPath (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void restoreDefault()
throws java.io.IOException,
AutomationException
ISettingsInRegistry
restoreDefault in interface ISettingsInRegistryjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
ISupportErrorInfoIndicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||