public class OlePresentationOptions extends ImportDocumentOptions implements IOlePresentationOptions
Provides options for import of the embedded document to Presentation via OLE.
| Constructor and Description |
|---|
OlePresentationOptions(byte[] objectData,
String extension,
int pageNumber)
Initializes a new instance of the
OlePresentationOptions class. |
OlePresentationOptions(String filePath,
int pageNumber)
Initializes a new instance of the
OlePresentationOptions class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
The height of the embedded object frame.
|
int |
getWidth()
The width of the embedded object frame.
|
int |
getX()
The X coordinate of the embedded object frame.
|
int |
getY()
The Y coordinate of the embedded object frame.
|
void |
setHeight(int value)
The height of the embedded object frame.
|
void |
setWidth(int value)
The width of the embedded object frame.
|
void |
setX(int value)
The X coordinate of the embedded object frame.
|
void |
setY(int value)
The Y coordinate of the embedded object frame.
|
getExtension, getImageData, getObjectData, getPageNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtension, getObjectData, getPageNumberpublic OlePresentationOptions(byte[] objectData,
String extension,
int pageNumber)
Initializes a new instance of the OlePresentationOptions class.
objectData - The data of the embedded object.extension - The extension of the embedded object.pageNumber - The page number for adding embedded object.public OlePresentationOptions(String filePath, int pageNumber) throws Exception
Initializes a new instance of the OlePresentationOptions class.
filePath - The file path of the embedded object.pageNumber - The page number for adding embedded object.Exceptionpublic final int getHeight()
The height of the embedded object frame.
getHeight in interface ISizeOptionspublic final int getWidth()
The width of the embedded object frame.
getWidth in interface ISizeOptionspublic final int getX()
The X coordinate of the embedded object frame.
getX in interface IOlePresentationOptionspublic final int getY()
The Y coordinate of the embedded object frame.
getY in interface IOlePresentationOptionspublic final void setHeight(int value)
The height of the embedded object frame.
setHeight in interface ISizeOptionspublic final void setWidth(int value)
The width of the embedded object frame.
setWidth in interface ISizeOptionspublic final void setX(int value)
The X coordinate of the embedded object frame.
setX in interface IOlePresentationOptionspublic final void setY(int value)
The Y coordinate of the embedded object frame.
setY in interface IOlePresentationOptionsCopyright © 2024. All rights reserved.