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


In This Topic
    CollectionRegions Class
    In This Topic
    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)
    public class CollectionRegions : combit.Reporting.Dom.DomCollectionBase<Region> 
    public ref class CollectionRegions : public combit.Reporting.Dom.DomCollectionBase<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 8.1, Windows 10 (Version 20H2 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    See Also