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


combit.ListLabel24.Dom Namespace : CollectionSumVariables Class
This collection contains the sum variables of the current project. It can also be used to add new sum variables to the project.
Object Model
CollectionSumVariables ClassSumVariable Class
Syntax
'Declaration
 
Public Class CollectionSumVariables 
   Inherits DomCollectionBase
public class CollectionSumVariables : DomCollectionBase 
public ref class CollectionSumVariables : public DomCollectionBase 
Example
// add new sum variable
SumVariable sumVar = new SumVariable(proj.SumVariables); 
 
// set sum variable options
sumVar.Name = "@Sum01"; 
sumVar.Contents = "1234"; 
sumVar.IsPageSum = "True"; 
  
// iterate all sum variables
foreach(SumVariable sumVariable in proj.SumVariables) 
{ 
    string sumVarName = sumVariable.Name 
}
Inheritance Hierarchy

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

Requirements

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

See Also

Reference

CollectionSumVariables Members
combit.ListLabel24.Dom Namespace