com.esri.arcgis.support.ms.stdole
Interface IPicture

All Superinterfaces:
Serializable
All Known Implementing Classes:
IPictureProxy, StdPicture

public interface IPicture
extends Serializable

Picture Object


Method Summary
 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
 Image toImage()
          Converts this IPicture to a Java Image
 

Method Detail

getHandle

int getHandle()
              throws IOException,
                     AutomationException
getHandle

Returns:
The phandle (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHPal

int getHPal()
            throws IOException,
                   AutomationException
getHPal

Returns:
The phpal (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

short getType()
              throws IOException,
                     AutomationException
getType

Returns:
The ptype
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

int getWidth()
             throws IOException,
                    AutomationException
getWidth

Returns:
The pwidth (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeight

int getHeight()
              throws IOException,
                     AutomationException
getHeight

Returns:
The pheight (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

render

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

Parameters:
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)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHPal

void setHPal(int phpal)
             throws IOException,
                    AutomationException
setHPal

Parameters:
phpal - The phpal (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurDC

int getCurDC()
             throws IOException,
                    AutomationException
getCurDC

Returns:
The phdcOut
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectPicture

void selectPicture(int hdcIn,
                   int[] phdcOut,
                   int[] phbmpOut)
                   throws IOException,
                          AutomationException
selectPicture

Parameters:
hdcIn - The hdcIn (in)
phdcOut - The phdcOut (out: use single element array)
phbmpOut - The phbmpOut (A COM typedef) (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isKeepOriginalFormat

boolean isKeepOriginalFormat()
                             throws IOException,
                                    AutomationException
isKeepOriginalFormat

Returns:
The pfkeep
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setKeepOriginalFormat

void setKeepOriginalFormat(boolean pfkeep)
                           throws IOException,
                                  AutomationException
setKeepOriginalFormat

Parameters:
pfkeep - The pfkeep (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

pictureChanged

void pictureChanged()
                    throws IOException,
                           AutomationException
pictureChanged

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveAsFile

void saveAsFile(int pstm,
                boolean fSaveMemCopy,
                int[] pcbSize)
                throws IOException,
                       AutomationException
saveAsFile

Parameters:
pstm - A COM void* (in)
fSaveMemCopy - The fSaveMemCopy (in)
pcbSize - The pcbSize (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributes

int getAttributes()
                  throws IOException,
                         AutomationException
getAttributes

Returns:
The pdwAttr
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHdc

void setHdc(int hdc)
            throws IOException,
                   AutomationException
setHdc

Parameters:
hdc - The hdc (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toImage

Image toImage()
              throws IOException
Converts this IPicture to a Java Image

Returns:
the equivalent image in Java
Throws:
IOException - If there are interop problems.