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


ProjectTemplates Property

With this enumeration all project templates, which are defined in the opened List & Label project, can be read or new project templates can be defined.

Syntax
'Declaration
 
Public ReadOnly Property ProjectTemplates As CollectionTemplates
 
Example
// Define a new project template
Template newProjTempl = new Template(proj.Templates);
newProjTempl.FileName = @"c:\temp\proj.lst";

// Get all defined project templates
foreach (Template templ in proj.Templates)
{
    string templName = templ.FileName;
}
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