OlePresentationOptions
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.
Constructors
| 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. |
Methods
| 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. |
OlePresentationOptions(byte[] objectData, String extension, int pageNumber)
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. |
OlePresentationOptions(String filePath, int pageNumber)
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. |
getX()
public final int getX()
The X coordinate of the embedded object frame.
Returns: int
setX(int value)
public final void setX(int value)
The X coordinate of the embedded object frame.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getY()
public final int getY()
The Y coordinate of the embedded object frame.
Returns: int
setY(int value)
public final void setY(int value)
The Y coordinate of the embedded object frame.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getWidth()
public final int getWidth()
The width of the embedded object frame.
Returns: int
setWidth(int value)
public final void setWidth(int value)
The width of the embedded object frame.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getHeight()
public final int getHeight()
The height of the embedded object frame.
Returns: int
setHeight(int value)
public final void setHeight(int value)
The height of the embedded object frame.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |