Dim myContainer0 As ABMContainer = page.component("sectionCanvas0")
Dim myCanvas1 As ABMCanvas =myContainer0.Component("canvas1")
Dim text1 As ABMCanvasObject
text1.beginPath
text1.InitializeAsRectangle(page, "text1", 1,1,300,300, True)
text1.font("Arial",22)
text1.fillStyleColor("#000000")
text1.fill
text1.textBaseline(ABM.CANVAS_TEXTBASELINE_MIDDLE)
text1.textAlign(ABM.CANVAS_TEXTALIGN_LEFT)
text1.fillText2("MYLABEL",10,10,canvasWidth)
text1.SetDragZone(1,1,600,1000)
text1.shadowBlur(2.5)
text1.closePath
myCanvas1.AddObject(text1)
myCanvas1.Refresh