Has anyone found support for creating or changing a drawing using Google Apps Script? I\'ve looked through the Google documentation, but I don\'t see any classes for drawing
modifying seldom includes a deletion too...
var drawingRange = body.findElement(DocumentApp.ElementType.INLINE_DRAWING);
while (drawingRange != null) {
var element = drawingRange.getElement();
var drawingElement = element.asInlineDrawing();
drawingElement.removeFromParent();
drawingRange = body.findElement(DocumentApp.ElementType.INLINE_DRAWING);
}