setDrawingTool - Methods - Annotations API

Annotations API Methods

setDrawingTool()

Sets the drawing tool to 'pencil' or 'eraser'.

Examples

itemsApp.assessApp().annotationsApp().module('drawing').setDrawingTool('pencil');
itemsApp.assessApp().annotationsApp().module('drawing').setDrawingTool('eraser');

Arguments

  • mode string

Return value

None (undefined).

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.