addOleObjectFrame
Contents
[
Hide
]addOleObjectFrame(float x, float y, float width, float height, OleEmbeddedDataInfo dataInfo) method
Adds a new OLE object to the end of a collection.
Parameters
Name | Type | Description |
---|---|---|
x | float | X coordinate of a new OLE frame. |
y | float | Y coordinate of a new OLE frame. |
width | float | Width of a new OLE frame. |
height | float | Height of a new OLE frame. |
dataInfo | OleEmbeddedDataInfo | Embedded data info IOleEmbeddedDataInfo. |
Returns
addOleObjectFrame(float x, float y, float width, float height, String className, String path) method
Adds a new OLE object to the end of a collection.
Parameters
Name | Type | Description |
---|---|---|
x | float | X coordinate of a new OLE frame. |
y | float | Y coordinate of a new OLE frame. |
width | float | Width of a new OLE frame. |
height | float | Height of a new OLE frame. |
className | String | Name of an OLE class. |
path | String | Path to the linked file.The path is stored in the presentation as is. If a relative path is specified the corresponding file will be inaccessible when opening the presentation from a different directory. |