|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesraster.RasterPicture
public class RasterPicture
A lightweight object for displaying some raster formats in a simple manner.
The RasterPicture object can load a raster into a Picture object, such as that exposed by a PictureBox control.
The RasterPicture object supports these formats: JPEG, GIF, TIFF, EMF, and PNG. The picture can only be displayed at its true resolution, with each raster pixel mapping to a single pixel on the display.
| Constructor Summary | |
|---|---|
RasterPicture()
Constructs a RasterPicture using ArcGIS Engine. |
|
RasterPicture(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterPicture theRasterPicture = (RasterPicture) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IColor |
getTransparentColor()
The transparent color if there is any. |
int |
hashCode()
the hashcode for this object |
IPicture |
loadPicture(String fileName)
Loads the picture. |
| 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 RasterPicture()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RasterPicture(Object obj)
throws IOException
RasterPicture theRasterPicture = (RasterPicture) obj;
obj to RasterPicture.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IPicture loadPicture(String fileName)
throws IOException,
AutomationException
loadPicture in interface IRasterPicturefileName - The fileName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getTransparentColor()
throws IOException,
AutomationException
getTransparentColor in interface IRasterPictureIOException - 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 | ||||||||