combit List & Label 25 - .NET Online Web Help
CollectionRulerGuides Class
Members  Example 


combit.ListLabel25.Dom Namespace : CollectionRulerGuides Class

 This collection contains the ruler guides of the current project. It can also be used to add new ruler guides to the project.

Object Model
CollectionRulerGuides ClassRulerGuide Class
Syntax
'Declaration
 
Public Class CollectionRulerGuides 
   Inherits DomCollectionBase
public class CollectionRulerGuides : DomCollectionBase 
public ref class CollectionRulerGuides : public DomCollectionBase 
Example
// add a horizontal ruler guide
RulerGuide newRulerGuide = new RulerGuide(proj.Layout.RulerGuides.Horizontal); 
newRulerGuide.Position = 10000; 
 
 
// iterate all horizontal ruler guides
foreach (RulerGuide rulerGuide in proj.Layout.RulerGuides.Horizontal) 
{ 
    int rulerPos = rulerGuide.Position; 
}
Inheritance Hierarchy

System.Object
   System.Collections.CollectionBase
      combit.ListLabel25.Dom.DomCollectionBase
         combit.ListLabel25.Dom.CollectionRulerGuides

Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

CollectionRulerGuides Members
combit.ListLabel25.Dom Namespace