ComponentOne FlexReport for WinForms
C1.Win.C1Document.4.5.2 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).

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 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