|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.support.ms.stdole.StdPicture
public class StdPicture
| Constructor Summary | |
|---|---|
StdPicture()
Constructs a StdPicture using ArcGIS Engine. |
|
StdPicture(Object obj)
Construct a StdPicture using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
int |
getAttributes()
getAttributes |
static String |
getClsid()
getClsid. |
int |
getCurDC()
getCurDC |
int |
getHandle()
getHandle |
int |
getHeight()
getHeight |
int |
getHPal()
getHPal |
short |
getType()
getType |
int |
getWidth()
getWidth |
int |
hashCode()
the hashcode for this object |
boolean |
isKeepOriginalFormat()
isKeepOriginalFormat |
void |
pictureChanged()
pictureChanged |
void |
render(int hdc,
int x,
int y,
int cx,
int cy,
int xSrc,
int ySrc,
int cxSrc,
int cySrc,
int prcWBounds)
render |
void |
saveAsFile(int pstm,
boolean fSaveMemCopy,
int[] pcbSize)
saveAsFile |
void |
selectPicture(int hdcIn,
int[] phdcOut,
int[] phbmpOut)
selectPicture |
void |
setHandle(int rhs)
setHandle |
void |
setHdc(int hdc)
setHdc |
void |
setHeight(int rhs)
setHeight |
void |
setHPal(int rhs)
setHPal |
void |
setKeepOriginalFormat(boolean pfkeep)
setKeepOriginalFormat |
void |
setType(short rhs)
setType |
void |
setWidth(int rhs)
setWidth |
Image |
toImage()
Converts this Picture to a Java Image |
| 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 StdPicture()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public StdPicture(Object obj)
throws IOException
obj to StdPicture.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
StdPicture theStdPicture = (StdPicture) obj;| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getHandle()
throws IOException,
AutomationException
getHandle in interface IPicturegetHandle in interface PictureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHandle(int rhs)
throws IOException,
AutomationException
setHandle in interface Picturerhs - The rhs (A COM typedef) )
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHPal()
throws IOException,
AutomationException
getHPal in interface IPicturegetHPal in interface PictureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHPal(int rhs)
throws IOException,
AutomationException
setHPal in interface IPicturesetHPal in interface Picturerhs - The rhs (A COM typedef) )
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getType()
throws IOException,
AutomationException
getType in interface IPicturegetType in interface PictureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setType(short rhs)
throws IOException,
AutomationException
setType in interface Picturerhs - The rhs )
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getWidth()
throws IOException,
AutomationException
getWidth in interface IPicturegetWidth in interface PictureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWidth(int rhs)
throws IOException,
AutomationException
setWidth in interface Picturerhs - The rhs (A COM typedef) )
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHeight()
throws IOException,
AutomationException
getHeight in interface IPicturegetHeight in interface PictureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHeight(int rhs)
throws IOException,
AutomationException
setHeight in interface Picturerhs - The rhs (A COM typedef) )
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void render(int hdc,
int x,
int y,
int cx,
int cy,
int xSrc,
int ySrc,
int cxSrc,
int cySrc,
int prcWBounds)
throws IOException,
AutomationException
render in interface IPicturerender in interface Picturehdc - The hdc (in)x - The x (in)y - The y (in)cx - The cx (in)cy - The cy (in)xSrc - The xSrc (A COM typedef) (in)ySrc - The ySrc (A COM typedef) (in)cxSrc - The cxSrc (A COM typedef) (in)cySrc - The cySrc (A COM typedef) (in)prcWBounds - A COM void* (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCurDC()
throws IOException,
AutomationException
getCurDC in interface IPictureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void selectPicture(int hdcIn,
int[] phdcOut,
int[] phbmpOut)
throws IOException,
AutomationException
selectPicture in interface IPicturehdcIn - The hdcIn (in)phdcOut - The phdcOut (out: use single element array)phbmpOut - The phbmpOut (A COM typedef) (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isKeepOriginalFormat()
throws IOException,
AutomationException
isKeepOriginalFormat in interface IPictureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setKeepOriginalFormat(boolean pfkeep)
throws IOException,
AutomationException
setKeepOriginalFormat in interface IPicturepfkeep - The pfkeep (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void pictureChanged()
throws IOException,
AutomationException
pictureChanged in interface IPictureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void saveAsFile(int pstm,
boolean fSaveMemCopy,
int[] pcbSize)
throws IOException,
AutomationException
saveAsFile in interface IPicturepstm - A COM void* (in)fSaveMemCopy - The fSaveMemCopy (in)pcbSize - The pcbSize (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAttributes()
throws IOException,
AutomationException
getAttributes in interface IPictureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHdc(int hdc)
throws IOException,
AutomationException
setHdc in interface IPicturehdc - The hdc (A COM typedef) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Image toImage()
throws IOException
toImage in interface IPicturetoImage in interface PictureIOException - If there are interop problems.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||