PrintPreviewDialog.CreateHandle Method ()


Creates the handle for the form that encapsulates the PrintPreviewDialog.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected override void CreateHandle()

Exception Condition

The printer settings in Document are not valid.

For more information about the CreateHandle method, see the Control.CreateHandle method.

.NET Framework
Available since 1.1
Return to top