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 a type of the ApiDrawing class. |
GetClassType | "drawing" | Returns the type of the ApiDrawing class. |
GetHeight | EMU | Returns the height of the current drawing. |
GetLockValue | boolean | Returns the lock value for the specified lock type of the current drawing. |
GetParent | ApiSlide | ApiLayout | ApiMaster | null | Returns the drawing parent object. |
GetParentLayout | ApiLayout | null | Returns the drawing parent slide layout. |
GetParentMaster | ApiMaster | null | Returns the drawing parent slide master. |
GetParentSlide | ApiSlide | null | Returns the drawing parent slide. |
GetPlaceholder | ApiPlaceholder | null | Returns a placeholder from the current drawing object. |
GetWidth | EMU | Returns the width of the current drawing. |
Select | None | Selects the current graphic object. |
SetLockValue | boolean | Sets the lock value to the specified lock type of the current drawing. |
SetPlaceholder | boolean | Sets the specified placeholder to the current drawing object. |
SetPosition | None | Sets the position of the drawing on the slide. |
SetSize | None | Sets the size of the object (image, shape, chart) bounding box. |
ToJSON | JSON | Converts the ApiDrawing object into the JSON object. |