You can also use a PictureBox control to group OptionButton controls and use that control to display the output of graphics methods and the text written by the Print method.
To enable the PictureBox control to automatically resize to display the entire graphic, set its AutoSize property to True.
Graphic properties and methods can be manipulated in code to create animations or perform simulations. Graphics properties and events are useful for run-time printing operations, such as formatting a screen form for printing.
In a DDE conversation, the PictureBox control can also function as a receiving link.
The PictureBox control and the Data control are the only standard Visual Basic controls that can be placed inside the area of ??an MDI form. You can use this control to group controls at the top or bottom of an inner area to create a toolbar or status bar.
Note Unisys Corporation has a patent claiming to cover certain aspects of GIF-LZW compression technology using the PictureBox and Image controls. Microsoft Corporation licensed the Unisys LZW patent in September 1996. However, Microsoft's license does not extend to those software developers or third parties who use any Microsoft toolkit, language development, or operating system product to provide GIF reading/writing and/or any other LZW capabilities in their own products (for example, through DLLs and APIs).
If your commercial application uses one of these controls (and therefore uses LZW technology), you may wish to obtain independent legal advice regarding patents.