ApiDrawing
Represents the ApiDrawing class.
Methods
Method | Returns | Description |
---|---|---|
GetClassType | "drawing" | Returns a type of the ApiDrawing class. |
GetContent | ApiDocumentContent | Returns the drawing inner contents where a paragraph or text runs can be inserted if it exists. |
GetHeight | EMU | Returns the height of the current drawing. |
GetLockValue | boolean | Returns the lock value for the specified lock type of the current drawing. |
GetParentSheet | ApiWorksheet | Returns the parent sheet of the current drawing. |
GetWidth | EMU | Returns the width of the current drawing. |
SetLockValue | boolean | Sets the lock value to the specified lock type of the current drawing. |
SetPosition | None | Changes the position for the drawing object.\ 💡 Please note that the horizontal and vertical offsets are calculated within the limits of\ the specified column and row cells only. If this value exceeds the cell width or height, another vertical/horizontal position will be set. |
SetSize | None | Sets a size of the object (image, shape, chart) bounding box. |