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

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

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

Method Detail

getHandle

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

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

setHandle

void setHandle(int rhs)
               throws java.io.IOException,
                      AutomationException
setHandle

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

setHPal

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

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

setType

void setType(short rhs)
             throws java.io.IOException,
                    AutomationException
setType

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

setWidth

void setWidth(int rhs)
              throws java.io.IOException,
                     AutomationException
setWidth

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

setHeight

void setHeight(int rhs)
               throws java.io.IOException,
                      AutomationException
setHeight

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

toImage

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

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