C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview.Forms Namespace / DocumentInfoForm Class / CreateForm Method
The custom form type (must be DocumentInfoForm or derived from it).
The default form type (used if customType is null, must be DocumentInfoForm or derived from it).

In This Topic
CreateForm Method (DocumentInfoForm)
In This Topic
Creates a new DocumentInfoForm form, or form of a type derived from DocumentInfoForm.
Syntax
'Declaration
 
Public Shared Function CreateForm( _
   ByVal customType As Type, _
   ByVal defaultType As Type _
) As DocumentInfoForm
 

Parameters

customType
The custom form type (must be DocumentInfoForm or derived from it).
defaultType
The default form type (used if customType is null, must be DocumentInfoForm or derived from it).

Return Value

The newly created form.
See Also