This documentation is archived and is not being maintained.

Visual Basic Reference

Visual Studio 6.0

PrintForm Method

See Also    Example    Applies To

Sends a bit-by-bit image of a Form object to the printer.



The object placeholder represents an object expression that evaluates to an object in the Applies To list. If object is omitted, the Form with the focus is assumed to be object.


PrintForm prints all visible objects and bitmaps of the Form object. PrintForm also prints graphics added to a Form object or PictureBox control at run time if the AutoRedraw property is True when the graphics are drawn.

The printer used by PrintForm is determined by the operating system's Control Panel settings.