Dim canvas1 As ABMCanvas
canvas1.Initialize(page, "canvas1", ABM.COLOR_Grey, ABM.INTENSITY_LIGHTEN3,canvasWidth,canvasHeight, False)
My issue is once it is created, I cannot change the width or height properties without removing the component and recreating it as the is no properties to change like.
canvas1.width or canvas1.height
Followed by canvas1.refresh.
Can some one help advise how to change the height and width without destroying the object.
That is how a HTML5 canvas works. When you resize it, it clears and you have to redraw. If the last parameter in the initialize = true, then it 'resizes' (responsive). It does however 'scale' (does not make it a bigger or smaller canvas with more drawing estate).