|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IPicture loadPicture(String fileName) throws IOException, AutomationException
loadPicture
in interface IRasterPicture
fileName
- 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 IRasterPicture
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 |