ApiDrawing
Represents the ApiDrawing class.
Methods
| Method | Returns | Description |
|---|---|---|
| Copy | ApiDrawing | Creates a copy of the specified drawing object. |
| Delete | boolean | Deletes the specified drawing object from the parent. |
| GetClassType | "drawing" | Returns the type of the ApiDrawing class. |
| GetHeight | EMU | Returns the height of the current drawing. |
| GetParentPage | ApiPage | Returns the type of the ApiDrawing class. |
| GetPosX | EMU | Gets the x position of the drawing on the page. |
| GetPosY | EMU | Gets the y position of the drawing on the page. |
| GetRotation | number | Returns the rotation angle of the current drawing object. |
| GetWidth | EMU | Returns the width of the current drawing. |
| Select | boolean | Selects the current graphic object. |
| SetPosX | boolean | Sets the x position of the drawing on the page. |
| SetPosY | boolean | Sets the y position of the drawing on the page. |
| SetPosition | boolean | Sets the position of the drawing on the page. |
| SetRotation | boolean | Sets the rotation angle to the current drawing object. |
| SetSize | boolean | Sets the size of the object (image, shape, chart) bounding box. |