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


Close Method (ProjectBase)
Closes the project and frees all associated resources.
Syntax
'Declaration
 
Public Overridable Sub Close() 
 
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 8, .NET 9

See Also