|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.develop.util.PictureConverter
Class PictureConverter. The helper for picture conversions
Method Summary | |
static java.awt.image.BufferedImage |
getBufferedImage(DispatchPtr picture,
int width,
int height)
Converts IPictureDisp to Image |
static DispatchPtr |
getCOMPicture(java.awt.image.BufferedImage img)
Converts Image to IPictureDisp |
static int |
getHeightfromHIMETRIC(int height)
Converts HIMETRIC height to Device points |
static int |
getWidthfromHIMETRIC(int width)
Converts HIMETRIC width to Device points |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static DispatchPtr getCOMPicture(java.awt.image.BufferedImage img) throws COMException
img
-
COMException
public static java.awt.image.BufferedImage getBufferedImage(DispatchPtr picture, int width, int height) throws COMException
picture
- width
- height
-
COMException
public static int getWidthfromHIMETRIC(int width)
width
-
public static int getHeightfromHIMETRIC(int height)
height
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |