OlePresentationOptions
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions
All Implemented Interfaces: com.groupdocs.merger.domain.options.interfaces.IOlePresentationOptions
public class OlePresentationOptions extends ImportDocumentOptions implements IOlePresentationOptions
Provides options for import of the embedded document to Presentation via OLE.
Learn more
- More about adding document to Presentation via OLE: Add document to Presentation via OLE.
| Constructor | 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. |
| Method | Description |
|---|---|
| getX() | The X coordinate of the embedded object frame. |
| setX(int value) | The X coordinate of the embedded object frame. |
| getY() | The Y coordinate of the embedded object frame. |
| setY(int value) | The Y coordinate of the embedded object frame. |
| getWidth() | The width of the embedded object frame. |
| setWidth(int value) | The width of the embedded object frame. |
| getHeight() | The height of the embedded object frame. |
| setHeight(int value) | The height of the embedded object frame. |
public OlePresentationOptions(byte[] objectData, String extension, int pageNumber)
Initializes a new instance of the OlePresentationOptions class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| objectData | byte[] | The data of the embedded object. |
| extension | java.lang.String | The extension of the embedded object. |
| pageNumber | int | The page number for adding embedded object. |
public OlePresentationOptions(String filePath, int pageNumber)
Initializes a new instance of the OlePresentationOptions class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filePath | java.lang.String | The file path of the embedded object. |
| pageNumber | int | The page number for adding embedded object. |
public final int getX()
The X coordinate of the embedded object frame.
Returns: int
public final void setX(int value)
The X coordinate of the embedded object frame.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final int getY()
The Y coordinate of the embedded object frame.
Returns: int
public final void setY(int value)
The Y coordinate of the embedded object frame.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final int getWidth()
The width of the embedded object frame.
Returns: int
public final void setWidth(int value)
The width of the embedded object frame.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final int getHeight()
The height of the embedded object frame.
Returns: int
public final void setHeight(int value)
The height of the embedded object frame.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.