ApiGroup
ApiGroup is a subclass of ApiDrawing.
Methods
| Method | Returns | Description |
|---|---|---|
| AddBreak | boolean | Inserts a break at the specified location in the main document. |
| Copy | ApiGroup | Copies the current group of drawings. |
| Delete | boolean | Deletes the current graphic object. |
| Fill | boolean | Sets the fill formatting properties to the current graphic object. |
| GetClassType | "group" | Returns a type of the ApiGroup class. |
| GetContent | ApiDocumentContent | Returns the drawing inner contents where a paragraph or text runs can be inserted if it exists. |
| 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. |
| GetNextDrawing | ApiDrawing | null | Returns the next inline drawing object if exists. |
| GetParentContentControl | ApiBlockLvlSdt | null | Returns a parent content control that contains the graphic object. |
| GetParentParagraph | ApiParagraph | null | Returns a parent paragraph that contains the graphic object. |
| GetParentTable | ApiTable | null | Returns a parent table that contains the graphic object. |
| GetParentTableCell | ApiTableCell | null | Returns a parent table cell that contains the graphic object. |
| GetPrevDrawing | ApiDrawing | null | Returns the previous inline drawing object if exists. |
| GetRotation | number | Returns the rotation angle of the current drawing object. |
| GetWidth | EMU | Returns the width of the current drawing. |
| InsertInContentControl | ApiDrawing | ApiBlockLvlSdt | Wraps the graphic object with a rich text content control. |
| InsertParagraph | ApiParagraph | ApiDrawing | Inserts a paragraph at the specified position. |
| ScaleHeight | boolean | Scales the height of the figure using the specified coefficient. |
| ScaleWidth | boolean | Scales the width of the figure using the specified coefficient. |
| Select | boolean | Selects the current graphic object. |
| SetDistances | boolean | Specifies the minimum distance which will be maintained between the edges of the current drawing object and any |
| SetDrawingPrFromDrawing | boolean | Sets the properties from another drawing to the current drawing. |
| SetFlipH | boolean | Sets the horizontal flip of the current drawing. |
| SetFlipV | boolean | Sets the vertical flip of the current drawing. |
| SetHorAlign | boolean | Specifies how the floating object will be horizontally aligned. |
| SetHorFlip | boolean | Flips the current drawing horizontally. |
| SetHorPosition | boolean | Sets the absolute measurement for the horizontal positioning of the floating object. |
| 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. |
| SetRelativeHeight | boolean | Sets the relative height of the object (image, shape, chart) bounding box. |
| SetRelativeWidth | boolean | Sets the relative width of the object (image, shape, chart) bounding box. |
| SetRotation | boolean | Sets the rotation angle to the current drawing object. |
| SetSize | boolean | Sets the size of the object (image, shape, chart) bounding box. |
| SetVerAlign | boolean | Specifies how the floating object will be vertically aligned. |
| SetVerPosition | boolean | Sets the absolute measurement for the vertical positioning of the floating object. |
| SetVertFlip | boolean | Flips the current drawing vertically. |
| SetWrappingStyle | boolean | Sets the wrapping type of the current object (image, shape, chart). One of the following wrapping style types can be set: |
| ToJSON | JSON | Converts the ApiDrawing object into the JSON object. |
| Ungroup | boolean | Ungroups the current group of drawings. |
| Unselect | boolean | Removes the current graphic object from the selection. |