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


In This Topic
    Open Method (ProjectBase)
    In This Topic
    Opens the project projectFile. When opening an existing project, the project type must match the class type (list, label or card).
    Overload List
    OverloadDescription

    The Open method opens the project file that is provided in the parameter projectStream.

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

     

    The Open method opens the project file that is provided in the parameter projectStream.

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

     

    The Open method opens the project file that is provided in the parameter projectStream.

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

     

    The Open method opens the project file in parameter projectFile. If you want to open an existing project file you have to obey that the project type (list, label or card) matches the class.

    The access mode in this overload is set to LlDomAccessMode.ReadWrite. The parameter ignoreErrors gets the value false.

     
    The Open method opens the project file in parameter projectFile. If you want to open an existing project file you have to obey that the project type (list, label or card) matches the class.  
    The Open method opens the project file in parameter projectFile. If you want to open an existing project file you have to obey that the project type (list, label or card) matches the class.  
    The Open method opens the project file in parameter projectFile. If you want to open an existing project file you have to obey that the project type (list, label or card) matches the class.  
    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 8.1, Windows 10 (Version 20H2 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    See Also