|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemotePage
This class represents a page.
Creation and access
Method Summary | |
---|---|
void |
activate()
This method makes the specified page into the active page. |
IRemotePage |
duplicate()
This method duplicates the specified page. |
void |
exportToImage(java.lang.String fileName,
int imagetype,
int quality)
This method exports the specified page to an image file. |
IRemoteUserDefinedAttributes |
getAttributes()
This property returns the user-defined attributes of the page. |
int |
getHeight()
This property returns the height of the page within 0.01 mm. |
int |
getIndex()
This property returns the index of the current page, starting from 1. |
IRemotePage |
getMasterPage()
This property returns or sets the master page of the page. |
java.lang.String |
getName()
This property returns or sets a string value representing the name of the page. |
IRemoteShapes |
getShapes()
This property returns all the shapes on the page. |
int |
getWidth()
This property returns the width of this page within 0.01 mm. |
void |
paste()
This method pastes the shape that is copied in the clipboard into the specified page, it is not supported in invisible mode. |
void |
remove()
This method removes the specified page. |
void |
setHeight(int height)
This property returns the height of the page within 0.01 mm. |
void |
setMasterPage(IRemotePage page)
This property returns or sets the master page of the page. |
void |
setName(java.lang.String name)
This property returns or sets a string value representing the name of the page. |
void |
setWidth(int width)
This property returns the width of this page within 0.01 mm. |
Method Detail |
---|
void activate() throws RemoteEclipseAPIException
RemoteEclipseAPIException
java.lang.String getName() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setName(java.lang.String name) throws RemoteEclipseAPIException
name
-
RemoteEclipseAPIException
int getIndex() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteShapes getShapes() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void paste() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void remove() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemotePage duplicate() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setMasterPage(IRemotePage page) throws RemoteEclipseAPIException
page
- master
RemoteEclipseAPIException
IRemotePage getMasterPage() throws RemoteEclipseAPIException
RemoteEclipseAPIException
int getHeight() throws RemoteEclipseAPIException
RemoteEclipseAPIException
int getWidth() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setHeight(int height) throws RemoteEclipseAPIException
height
-
RemoteEclipseAPIException
void setWidth(int width) throws RemoteEclipseAPIException
width
-
RemoteEclipseAPIException
void exportToImage(java.lang.String fileName, int imagetype, int quality) throws RemoteEclipseAPIException
fileName
- Specifies the file to export.imagetype
- Specifies the type of the image to export. The value is a constant and can be one of these types:Constant | Value | Description |
---|---|---|
Constant.IMAGE_TYPE_JPEG | 1 | specifies the JPEG image type. |
Constant.IMAGE_TYPE_PNG | 2 | specifies the PNG image type. |
Constant.IMAGE_TYPE_GIF | 3 | specifies the GIF image type. |
quality
- Specifies the quality of the image. Values range from 0 which is the lowest quality to 100 which is the highest quality.
RemoteEclipseAPIException
IRemoteUserDefinedAttributes getAttributes() throws RemoteEclipseAPIException
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |