combit List & Label 24 - .NET Online Web Help
Print() Method
Example 


combit.ListLabel24 Namespace > ListLabel Class > Print Method : Print() Method

This key method handles the databound printing. Assign a DataSource to the component and call this method to start a print job. The overloads allow to fine tune the behavior by suppressing the file dialog, the print option dialog, preset the project file name etc. You may also use the Auto... properties (e.g. AutoProjectFile Property) to modify these settings.

Syntax
'Declaration
 
Public Overloads Sub Print() 
public void Print()
public:
void Print(); 
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 Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

ListLabel Class
ListLabel Members
Overload List