public interface IPicture
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
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 |
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
|
java.awt.Image |
toImage()
Converts this IPicture to a Java Image
|
int getHandle()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.int getHPal()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.short getType()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.int getWidth()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.int getHeight()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.void render(int hdc,
int x,
int y,
int cx,
int cy,
int xSrc,
int ySrc,
int cxSrc,
int cySrc,
int prcWBounds)
throws java.io.IOException,
AutomationException
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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.void setHPal(int phpal)
throws java.io.IOException,
AutomationException
phpal - The phpal (A COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.int getCurDC()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.void selectPicture(int hdcIn,
int[] phdcOut,
int[] phbmpOut)
throws java.io.IOException,
AutomationException
hdcIn - The hdcIn (in)phdcOut - The phdcOut (out: use single element array)phbmpOut - The phbmpOut (A COM typedef) (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.boolean isKeepOriginalFormat()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.void setKeepOriginalFormat(boolean pfkeep)
throws java.io.IOException,
AutomationException
pfkeep - The pfkeep (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.void pictureChanged()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.void saveAsFile(int pstm,
boolean fSaveMemCopy,
int[] pcbSize)
throws java.io.IOException,
AutomationException
pstm - A COM void* (in)fSaveMemCopy - The fSaveMemCopy (in)pcbSize - The pcbSize (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.int getAttributes()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.void setHdc(int hdc)
throws java.io.IOException,
AutomationException
hdc - The hdc (A COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.java.awt.Image toImage()
throws java.io.IOException
java.io.IOException - If there are interop problems.