[]
Gets or sets whether a ruler is displayed for the specified worksheet.
This property indicates whether the current worksheet view shows the ruler.
bool DisplayRuler { get; set; }
Property DisplayRuler As Boolean
IWorksheetView sheetView = worksheet.SheetView;
sheetView.DisplayRuler = false;
bool displayRuler = sheetView.DisplayRuler;