ShowRulers property

ShowRulers property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         Example         Applies to

Determines whether rulers are shown in the drawing window.

Version added

4.5

Syntax

        
          intRet = object.ShowRulers
      
        
          object
          .ShowRulers = intExpression
      

intRet

Integer. True (-1) if rulers are showing; False (0) if rulers are hidden.

object

Required. An expression that returns a Window object.

intExpression

Required Integer. True (non-zero) to show rulers; False (0) to hide rulers.

Remarks

Setting the ShowRulers property is the same as clicking Rulers on the View menu.