insertOleObjectFrame
Contents
[
Hide
]insertOleObjectFrame(int index, float x, float y, float width, float height, OleEmbeddedDataInfo dataInfo) method
Creates a new OLE object and inserts it to a collection at the specified index.
Parameters
Name | Type | Description |
---|---|---|
index | int | The zero-based index at which OLE object should be inserted. |
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
insertOleObjectFrame(int index, float x, float y, float width, float height, String className, String path) method
Creates a new OLE object and inserts it to a collection at the specified index.
Parameters
Name | Type | Description |
---|---|---|
index | int | The zero-based index at which OLE object should be inserted. |
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. |