ApiOleObject
ApiOleObject is a subclass of ApiDrawing.
Methods
| Method | Returns | Description |
|---|---|---|
| Copy | ApiOleObject | Creates a copy of the specified OLE object. |
| Delete | boolean | Deletes the specified drawing object. |
| Fill | boolean | Sets the fill formatting properties to the current graphic object. |
| GetApplicationId | string | Returns the application ID from the current OLE object. |
| GetClassType | "oleObject" | Returns a type of the ApiOleObject class. |
| GetData | string | Returns the string data from the current OLE object. |
| GetFlipH | boolean | null | Get horizontal flip of current drawing. |
| GetFlipV | boolean | null | Get vertical flip of current drawing. |
| GetHeight | EMU | Returns the height of the current drawing. |
| GetLockValue | boolean | Returns the lock value for the specified lock type of the current drawing. |
| GetName | string | Returns the name of the current drawing. |
| GetParentSheet | ApiWorksheet | Returns the parent sheet of the current drawing. |
| GetRotation | number | Returns the rotation angle of the current drawing object. |
| GetWidth | EMU | Returns the width of the current drawing. |
| Select | None | Selects the current graphic object. |
| SetApplicationId | boolean | Sets the application ID to the current OLE object. |
| SetData | boolean | Sets the data to the current OLE object. |
| SetFlipH | boolean | Sets the horizontal flip of the current drawing. |
| SetFlipV | boolean | Sets the vertical flip of the current drawing. |
| SetLockValue | boolean | Sets the lock value to the specified lock type of the current drawing. |
| SetName | boolean | Sets the name of the current drawing. |
| SetOutLine | boolean | Sets the outline properties to the specified graphic object. |
| SetPosition | None | Changes the position for the drawing object. |
| SetRotation | boolean | Sets the rotation angle to the current drawing object. |
| SetSize | None | Sets a size of the object (image, shape, chart) bounding box. |
| Unselect | boolean | Removes the current drawing from the selection. |