'DeclarationPublic ReadOnly Property RulerGuides As PropertyRulerGuides
public PropertyRulerGuides RulerGuides {get;}
public: property PropertyRulerGuides^ RulerGuides { PropertyRulerGuides^ get(); }
'DeclarationPublic ReadOnly Property RulerGuides As PropertyRulerGuides
public PropertyRulerGuides RulerGuides {get;}
public: property PropertyRulerGuides^ RulerGuides { PropertyRulerGuides^ get(); }
// 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; }
Platforms: Windows 10, Windows 11, Windows Server 2016 - 2025
.NET: .NET Framework 4.8, .NET 10, .NET 11