Available in the LEADTOOLS Imaging toolkit. |
Resize event example for Visual Basic
This example demonstates the Resize event.
Private Sub Lead1_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 Lead1 control
Text1.Text = "Control size: " + CStr(Lead1.Width) + " x " + CStr(Lead1.Height)
Text1.Refresh
End Sub