Skip to main content

ApiSmartArt

ApiSmartArt is a subclass of ApiDrawing.

Methods

MethodReturnsDescription
AddBreakbooleanInserts a break at the specified location in the main document.
CopyApiDrawingCopies the current graphic object.
DeletebooleanDeletes the current graphic object.
FillbooleanSets the fill formatting properties to the current graphic object.
GetClassType"smartArt"Returns a type of the ApiSmartArt class.
GetContentApiDocumentContentReturns the drawing inner contents where a paragraph or text runs can be inserted if it exists.
GetFlipHboolean | nullGet horizontal flip of current drawing.
GetFlipVboolean | nullGet vertical flip of current drawing.
GetHeightEMUReturns the height of the current drawing.
GetLockValuebooleanReturns the lock value for the specified lock type of the current drawing.
GetNamestringReturns the name of the current drawing.
GetNextDrawingApiDrawing | nullReturns the next inline drawing object if exists.
GetParentContentControlApiBlockLvlSdt | nullReturns a parent content control that contains the graphic object.
GetParentParagraphApiParagraph | nullReturns a parent paragraph that contains the graphic object.
GetParentTableApiTable | nullReturns a parent table that contains the graphic object.
GetParentTableCellApiTableCell | nullReturns a parent table cell that contains the graphic object.
GetPrevDrawingApiDrawing | nullReturns the previous inline drawing object if exists.
GetRotationnumberReturns the rotation angle of the current drawing object.
GetWidthEMUReturns the width of the current drawing.
InsertInContentControlApiDrawing | ApiBlockLvlSdtWraps the graphic object with a rich text content control.
InsertParagraphApiParagraph | ApiDrawingInserts a paragraph at the specified position.
ScaleHeightbooleanScales the height of the figure using the specified coefficient.
ScaleWidthbooleanScales the width of the figure using the specified coefficient.
SelectbooleanSelects the current graphic object.
SetDistancesbooleanSpecifies the minimum distance which will be maintained between the edges of the current drawing object and any
SetDrawingPrFromDrawingbooleanSets the properties from another drawing to the current drawing.
SetFlipHbooleanSets the horizontal flip of the current drawing.
SetFlipVbooleanSets the vertical flip of the current drawing.
SetHorAlignbooleanSpecifies how the floating object will be horizontally aligned.
SetHorFlipbooleanFlips the current drawing horizontally.
SetHorPositionbooleanSets the absolute measurement for the horizontal positioning of the floating object.
SetLockValuebooleanSets the lock value to the specified lock type of the current drawing.
SetNamebooleanSets the name of the current drawing.
SetOutLinebooleanSets the outline properties to the specified graphic object.
SetRelativeHeightbooleanSets the relative height of the object (image, shape, chart) bounding box.
SetRelativeWidthbooleanSets the relative width of the object (image, shape, chart) bounding box.
SetRotationbooleanSets the rotation angle to the current drawing object.
SetSizebooleanSets the size of the object (image, shape, chart) bounding box.
SetVerAlignbooleanSpecifies how the floating object will be vertically aligned.
SetVerPositionbooleanSets the absolute measurement for the vertical positioning of the floating object.
SetVertFlipbooleanFlips the current drawing vertically.
SetWrappingStylebooleanSets the wrapping type of the current object (image, shape, chart). One of the following wrapping style types can be set:
ToJSONJSONConverts the ApiDrawing object into the JSON object.
UnselectbooleanRemoves the current graphic object from the selection.