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, getPageNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtension, getObjectData, getPageNumber
public 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.Exception
public 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.Exception
public final int getHeight()
The height of the embedded object shape in inches.
getHeight
in interface ISizeOptions
public final byte[] getImageData()
The image data of the embedded object.
getImageData
in interface com.groupdocs.merger.domain.options.interfaces.IOleDiagramOptions
public final int getWidth()
The width of the embedded object shape in inches.
getWidth
in interface ISizeOptions
public 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.IOleDiagramOptions
public 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.IOleDiagramOptions
public final void setHeight(int value)
The height of the embedded object shape in inches.
setHeight
in interface ISizeOptions
public final void setWidth(int value)
The width of the embedded object shape in inches.
setWidth
in interface ISizeOptions
public 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.IOleDiagramOptions
public 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.IOleDiagramOptions