|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.support.ms.stdole.IPictureProxy
public class IPictureProxy
Picture Object
Field Summary |
---|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IPictureProxy()
|
|
IPictureProxy(Object obj)
|
protected |
IPictureProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
int |
getAttributes()
getAttributes |
int |
getCurDC()
getCurDC |
int |
getHandle()
getHandle |
int |
getHeight()
getHeight |
int |
getHPal()
getHPal |
short |
getType()
getType |
int |
getWidth()
getWidth |
boolean |
isKeepOriginalFormat()
isKeepOriginalFormat |
void |
pictureChanged()
pictureChanged |
void |
removeListener(String iidStr,
Object theListener)
|
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 |
setHdc(int hdc)
setHdc |
void |
setHPal(int phpal)
setHPal |
void |
setKeepOriginalFormat(boolean pfkeep)
setKeepOriginalFormat |
Image |
toImage()
Converts this IPicture to a Java Image |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IPictureProxy()
public IPictureProxy(Object obj) throws IOException
IOException
protected IPictureProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public int getHandle() throws IOException, AutomationException
getHandle
in interface IPicture
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHPal() throws IOException, AutomationException
getHPal
in interface IPicture
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getType() throws IOException, AutomationException
getType
in interface IPicture
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getWidth() throws IOException, AutomationException
getWidth
in interface IPicture
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHeight() throws IOException, AutomationException
getHeight
in interface IPicture
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 IPicture
hdc
- 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 void setHPal(int phpal) throws IOException, AutomationException
setHPal
in interface IPicture
phpal
- The phpal (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCurDC() throws IOException, AutomationException
getCurDC
in interface IPicture
IOException
- 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 IPicture
hdcIn
- 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 IPicture
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeepOriginalFormat(boolean pfkeep) throws IOException, AutomationException
setKeepOriginalFormat
in interface IPicture
pfkeep
- 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 IPicture
IOException
- 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 IPicture
pstm
- 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 IPicture
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHdc(int hdc) throws IOException, AutomationException
setHdc
in interface IPicture
hdc
- 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 IPicture
IOException
- If there are interop problems.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |