combit List & Label 29 - .NET Help
combit.Reporting Namespace / ListLabel Class / Print Method


In This Topic
    Print Method (ListLabel)
    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. 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.

    Overload List
    OverloadDescription

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

    This overload allows to set the printer name temporarily for this print to the specified name. Please note the following:

    • The printer will be set for all regions if there are multiple regions in a project.
    • Changing the printer name is only temporary, as soon as the name is empty, the original printer name set in the project will be used again.
    • If a Print("<Printer>") is followed by a Print(), also the original printer name set in the project will be used again.
    • If an exception is triggered during printing (e.g. by the button "Cancel" in the print options dialog) which is catched in the code and a new print without a printer name is started afterwards, the default printer/design settings are active, not the printer from the cancelled print job.
     

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

    This overload allows to set the printer name temporarily for this print to the specified name. Please note the following:

    • The printer will be set for all regions if there are multiple regions in a project.
    • Changing the printer name is only temporary, as soon as the name is empty, the original printer name set in the project will be used again.
    • If a Print("<Printer>") is followed by a Print(), also the original printer name set in the project will be used again.
    • If an exception is triggered during printing (e.g. by the button "Cancel" in the print options dialog) which is catched in the code and a new print without a printer name is started afterwards, the default printer/design settings are active, not the printer from the cancelled print job.
     

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

    This overload allows to set the printer name temporarily for this print to the specified name. Please note the following:

    • The printer will be set for all regions if there are multiple regions in a project.
    • Changing the printer name is only temporary, as soon as the name is empty, the original printer name set in the project will be used again.
    • If a Print("<Printer>") is followed by a Print(), also the original printer name set in the project will be used again.
    • If an exception is triggered during printing (e.g. by the button "Cancel" in the print options dialog) which is catched in the code and a new print without a printer name is started afterwards, the default printer/design settings are active, not the printer from the cancelled print job.
     

    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.

     

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

     

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

    Please note the following restrictions:
    - Project includes are not available
    - The Designer function 'ProjectPath$()' is not available
    - Drilldown is not available

     

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

    Please note the following restrictions:
    - Project includes are not available
    - The Designer function 'ProjectPath$()' is not available
    - Drilldown is not available

     

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

     

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

     

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

     

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

     
    Example

     

    Requirements

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

    See Also