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

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IPictureProxy, StdPicture

public interface IPicture
extends java.io.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
 java.awt.Image toImage()
          Converts this IPicture to a Java Image
 

Method Detail

getHandle

int getHandle()
              throws java.io.IOException,
                     AutomationException
getHandle

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

getHPal

int getHPal()
            throws java.io.IOException,
                   AutomationException
getHPal

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

getType

short getType()
              throws java.io.IOException,
                     AutomationException
getType

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

getWidth

int getWidth()
             throws java.io.IOException,
                    AutomationException
getWidth

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

getHeight

int getHeight()
              throws java.io.IOException,
                     AutomationException
getHeight

Returns:
The pheight (A COM typedef)
Throws:
java.io.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 java.io.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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHPal

void setHPal(int phpal)
             throws java.io.IOException,
                    AutomationException
setHPal

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

getCurDC

int getCurDC()
             throws java.io.IOException,
                    AutomationException
getCurDC

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

selectPicture

void selectPicture(int hdcIn,
                   int[] phdcOut,
                   int[] phbmpOut)
                   throws java.io.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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isKeepOriginalFormat

boolean isKeepOriginalFormat()
                             throws java.io.IOException,
                                    AutomationException
isKeepOriginalFormat

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

setKeepOriginalFormat

void setKeepOriginalFormat(boolean pfkeep)
                           throws java.io.IOException,
                                  AutomationException
setKeepOriginalFormat

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

pictureChanged

void pictureChanged()
                    throws java.io.IOException,
                           AutomationException
pictureChanged

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

saveAsFile

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

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

getAttributes

int getAttributes()
                  throws java.io.IOException,
                         AutomationException
getAttributes

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

setHdc

void setHdc(int hdc)
            throws java.io.IOException,
                   AutomationException
setHdc

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

toImage

java.awt.Image toImage()
                       throws java.io.IOException
Converts this IPicture to a Java Image

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