FlexReport for WinForms | ComponentOne
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 Type, _
       ByVal defaultType As Type _
    ) As DocumentInfoForm
    public static DocumentInfoForm CreateForm( 
       Type customType,
       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