combit List & Label 29 - .NET Help
combit.Reporting Namespace / ListLabel Class / AutoProjectFile Property


In This Topic
    AutoProjectFile Property
    In This Topic

    Sets the file name of the List & Label project file for the methods Print and Design in databound mode.

    Syntax
    'Declaration
     
    
    Public Property AutoProjectFile As String
    public string AutoProjectFile {get; set;}
    public:
    property String^ AutoProjectFile {
       String^ get();
       void set (    String^ value);
    }
    Remarks

    Multiple file names can also be passed semicolon-separated. Then a combination print is performed and the outputs of the individual projects are summarized as total output. But additionally the display of the file selection dialog must be suppressed by setting the property AutoShowSelectFile to false.

    For combination printing with a semicolon-separated list, you can also provide your own information for the Event NextCombinationPrintStep using the syntax "JOB=".

    // Create List & Label object
    using(ListLabel LL = new ListLabel())
    { 
        // Define data source and some options
        // ...
    
        // Prepare the combination print
        LL.AutoProjectFile = @"C:\temp\Cover.lst;JOB=MyValue;C:\temp\Report.lst";
        LL.AutoShowSelectFile = false;
    
        // Execute the print
        LL.Print();
    }
    
    ' Create List & Label object
    Using LL As New ListLabel()                
    
        ' Define data source and some options
        ' ...
    
        ' Prepare the combination print
        LL.AutoProjectFile = "C:\temp\Cover.lst;JOB=MyValue;C:\temp\Report.lst"
        LL.AutoShowSelectFile = false;
    
        ' Execute the print
        LL.Print()
                       
    End Using 
    

    In addition to "JOB=", the identifiers "TOC=" (table of contents), "IDX=" (index) and "GTC=" (reverse side) are also available.

    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