| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > Rich Text Template Support - Overview >====== ShowRTFRuler code template ====== | [[showrtfformatbar code template.htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[showrtftoolbar code template.htm|{{btn_next_n.gif|Next page}}]] | | || {{notebox.jpg|NoteBox.jpg}} **This template (and its associated code templates) has been deprecated, and is now replaced by the [[tplcontrolrtf.htm|RTF Text Control]] template.** The ShowRTFRuler code template is used to simply either Hide or Unhide the default ruler bar. This template calls the ShowRuler method. A TRUE value is passed to the method to Unhide the ruler bar. A FALSE value is passed to the ShowRuler method to Hide the ruler bar. ** Prototype:** **ShowRuler( **//TabStatus //**)** **Example method calls:** **oRTF_RTFTextBox.ShowRuler( 1 ) !Unhide ruler** **oRTF_RTFTextBox.ShowRuler( 0 ) !Hide ruler** **Template Prompts:** **Associated RTF control** Select the RTF control from the drop-down list. All controls on the Window are included in the list. This field in required. **Show Ruler?** Check this box to make the ruler visible (Unhide). If the box is cleared, the ruler will be hidden at runtime.