public class OleDiagramOptions extends ImportDocumentOptions implements com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptions
Provides options for import of the embedded document to Diagram via OLE.
| Constructor and Description |
|---|
OleDiagramOptions(byte[] objectData,
byte[] imageData,
String extension,
int pageNumber)
Initializes a new instance of the
OleDiagramOptions class. |
OleDiagramOptions(String filePath,
byte[] imageData,
int pageNumber)
Initializes a new instance of the
OleDiagramOptions class. |
OleDiagramOptions(String filePath,
int pageNumber)
Initializes a new instance of the
OleDiagramOptions class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
The height of the embedded object shape in inches.
|
byte[] |
getImageData()
The image data of the embedded object.
|
int |
getWidth()
The width of the embedded object shape in inches.
|
int |
getX()
The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page.
|
int |
getY()
The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page.
|
void |
setHeight(int value)
The height of the embedded object shape in inches.
|
void |
setWidth(int value)
The width of the embedded object shape in inches.
|
void |
setX(int value)
The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page.
|
void |
setY(int value)
The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page.
|
getExtension, getImageData, getObjectData, getPageNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtension, getObjectData, getPageNumberpublic OleDiagramOptions(byte[] objectData,
byte[] imageData,
String extension,
int pageNumber)
Initializes a new instance of the OleDiagramOptions class.
objectData - The data of the embedded object.imageData - The image data of the embedded object.extension - The extension of the embedded object.pageNumber - The page number for adding embedded object.public OleDiagramOptions(String filePath, byte[] imageData, int pageNumber) throws Exception
Initializes a new instance of the OleDiagramOptions class.
filePath - The file path of the embedded object.imageData - The image data of the embedded object.pageNumber - The page number for adding embedded object.Exceptionpublic OleDiagramOptions(String filePath, int pageNumber) throws Exception
Initializes a new instance of the OleDiagramOptions 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 shape in inches.
getHeight in interface ISizeOptionspublic final byte[] getImageData()
The image data of the embedded object.
getImageData in interface com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptionspublic final int getWidth()
The width of the embedded object shape in inches.
getWidth in interface ISizeOptionspublic final int getX()
The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page.
getX in interface com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptionspublic final int getY()
The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page.
getY in interface com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptionspublic final void setHeight(int value)
The height of the embedded object shape in inches.
setHeight in interface ISizeOptionspublic final void setWidth(int value)
The width of the embedded object shape in inches.
setWidth in interface ISizeOptionspublic final void setX(int value)
The X coordinate of the embedded object shape's pin (center of rotation) in relation to the page.
setX in interface com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptionspublic final void setY(int value)
The Y coordinate of the embedded object shape's pin (center of rotation) in relation to the page.
setY in interface com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptionsCopyright © 2024. All rights reserved.