combit List & Label 30 - .NET Help
combit.Reporting.Dom Namespace / CollectionRegions Class
Members Example


CollectionRegions Class
With this class the single layout regions of the project can be set or get.
Object Model
CollectionRegions ClassRegion Class
Syntax
'Declaration
 
Public Class CollectionRegions 
   Inherits combit.Reporting.Dom.DomCollectionBase(Of Region)
 
Example
ProjectList proj = new ProjectList(new LL());
proj.Open(@"C:\Projects\new.lst", LlDomFileMode.Create, LlDomAccessMode.ReadWrite);

Region firstPage = proj.Regions.AddNew();
firstPage.Condition = "Page() = 1";
firstPage.Set(new PrinterSettings());

Region followingPages = proj.Regions.AddNew();
followingPages.Condition = "Page() > 1";
followingPages.Set(new PrinterSettings());

proj.Save();
proj.Close();
Inheritance Hierarchy
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