combit List & Label 30 - .NET Help
combit.Reporting Namespace / ListLabel Class / Print Method / Print(LlProject) Method

Project type. See LlProject. Can also be set via the AutoProjectType Property.

Example


In This Topic
    Print(LlProject) Method
    In This Topic

    This key method handles the databound printing. Assign a DataSource to the component and call this method to start a print job.

    Syntax
    'Declaration
     
    
    Public Overloads Sub Print( _
       ByVal projectType As LlProject _
    ) 
    public void Print( 
       LlProject projectType
    )
    public:
    void Print( 
       LlProject projectType
    ) 

    Parameters

    projectType

    Project type. See LlProject. Can also be set via the AutoProjectType Property.

    Example
    SqlConnection conn = new SqlConnection(Properties.Settings.Default.ConnectionString); 
    SqlConnectionDataProvider provider = new SqlConnectionDataProvider(conn); 
    LL.DataSource = provider; 
    LL.Print();
    Dim conn As New SqlConnection(Properties.Settings.[Default].ConnectionString)
    Dim provider As New SqlConnectionDataProvider(conn)
    LL.DataSource = provider
    LL.Print()
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

    See Also