combit List & Label 29 - .NET Help
combit.Reporting.Dom Namespace / ProjectBase Class / Save Method
Example


In This Topic
    Save Method (ProjectBase)
    In This Topic
    Saves a project file to disk.
    Overload List
    OverloadDescription
    Saves a project file to disk. The file name will be the one used to open the project.  
    Saves a project file to disk and allows to specify a new file name, i.e. the original file will not be touched.  
     
    Example
    // create List & Label instance 
    ListLabel LL = new ListLabel();  
      
    // attach project  
    ProjectList proj = new ProjectList(LL);  
      
    // create new project file  
    proj.Open(Path.Combine(Application.StartupPath, "dynamic.lst"), LlDomFileMode.Create, LlDomAccessMode.ReadWrite);  
      
      
    // ... modify ... 
      
      
    // save project 
    proj.Save();  
      
    // close project, free resources 
    proj.Close();
    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