getDimensions - Methods - Annotations API

Annotations API Methods

getDimensions()

Get the pixel dimensions of the sticky note in context. Returns an object with two number properties, width and height.

Examples

const myNote = itemsApp.assessApp().annotationsApp().module('stickynote').addNote();

myNote.getDimensions();
// -> {width: 250, height: 230}

Arguments

None.

Return value

Type object

Was this article helpful?

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