GetWidth()

var objWidth = button1.GetWidth()

Close