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

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

public interface Picture
extends Serializable


Method Summary
 int getHandle()
          getHandle
 int getHeight()
          getHeight
 int getHPal()
          getHPal
 short getType()
          getType
 int getWidth()
          getWidth
 void render(int hdc, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, int prcWBounds)
          render
 void setHandle(int rhs)
          setHandle
 void setHeight(int rhs)
          setHeight
 void setHPal(int rhs)
          setHPal
 void setType(short rhs)
          setType
 void setWidth(int rhs)
          setWidth
 Image toImage()
          Converts this Picture to a Java Image
 

Method Detail

getHandle

int getHandle()
              throws IOException,
                     AutomationException
getHandle

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

setHandle

void setHandle(int rhs)
               throws IOException,
                      AutomationException
setHandle

Parameters:
rhs - The rhs (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 return value (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHPal

void setHPal(int rhs)
             throws IOException,
                    AutomationException
setHPal

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

setType

void setType(short rhs)
             throws IOException,
                    AutomationException
setType

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

getWidth

int getWidth()
             throws IOException,
                    AutomationException
getWidth

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

setWidth

void setWidth(int rhs)
              throws IOException,
                     AutomationException
setWidth

Parameters:
rhs - The rhs (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 return value (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHeight

void setHeight(int rhs)
               throws IOException,
                      AutomationException
setHeight

Parameters:
rhs - The rhs (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.

toImage

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

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