Resize event example for Visual Basic
This example demonstates the Resize event.
Private Sub LEADRasterView1_Resize()
'Before using this example you must add a text box to your form.
'Then, you can exercise this example by coding a command button that
'changes the width and height of the LEADRasterView1 control
Text1.Text = "Control size: " & CStr(LEADRasterView1.Width) _
& " x " & CStr(LEADRasterView1.Height)
Text1.Refresh
End Sub