ComponentOne FlexReport for WinForms
CreateForm Method (DocumentInfoForm)

C1.Win.C1Document.4 Assembly > C1.Win.C1Document.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).
Creates a new DocumentInfoForm form, or form of a type derived from DocumentInfoForm.
Syntax
'Declaration
 
Public Shared Function CreateForm( _
   ByVal customType As System.Type, _
   ByVal defaultType As System.Type _
) As DocumentInfoForm
public static DocumentInfoForm CreateForm( 
   System.Type customType,
   System.Type defaultType
)

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

Reference

DocumentInfoForm Class
DocumentInfoForm Members