combit List & Label 24 - .NET Online Web Help
CollectionRegions Class
Members  Example 


combit.ListLabel24.Dom Namespace : 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 DomCollectionBase
public class CollectionRegions : DomCollectionBase 
public ref class CollectionRegions : public DomCollectionBase 
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

System.Object
   System.Collections.CollectionBase
      combit.ListLabel24.Dom.DomCollectionBase
         combit.ListLabel24.Dom.CollectionRegions

Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

CollectionRegions Members
combit.ListLabel24.Dom Namespace