|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.acesoft.aceoffix.wordreader.Shape
public class Shape
Shape class represents a shape in Microsoft Word.
Representing a shape in Microsoft Word, Shape class is used to read the shapes and pictures in Word.
Method Summary | |
---|---|
int |
getIndex()
Gets the index of the Shape. |
void |
saveAsJPG(java.lang.String saveAsFileName)
Saves the current Shape as a JPG file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getIndex()
This Index is the Shape index defined in Microsoft Word.
The index is a 1-based index.
public void saveAsJPG(java.lang.String saveAsFileName) throws java.lang.Exception
saveAsFileName
- If you want to save the file to the target location, you must specify the absolute path and the filename. If you want to save the file to the website folder, you should use getRealPath() to get the absolute path.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |