ScaleHeight
Scales the height of the figure using the specified coefficient.
Inherited from ApiDrawing.ScaleHeight.
Example
Scales the height of the figure using the specified coefficient in a document.
// How to increase the height of the drawing in a document.
// Scale height and display the result in a document.
let doc = Api.GetDocument();
let paragraph = doc.GetElement(0);
for (let i = 3; i > 0; i--) {
let fill = Api.CreateSolidFill(Api.RGB(255, 111, 61));
let stroke = Api.CreateStroke(0, Api.CreateNoFill());
let drawing = Api.CreateShape("cube", 3212465, 963295, fill, stroke);
paragraph.AddDrawing(drawing);
drawing.ScaleHeight(i);
}