SnapToRuler Property

The SnapToRuler property returns or sets the snap to ruler state. Returns a Boolean.

Syntax

object.SnapToRuler

object.SnapToRuler = SnapToRuler

 

Parameter Type Description
SnapToRuler Boolean required, true to snap to the ruler

 

Example

This example shows how to enable the snap to ruler setting.

PlotWindow.HorizontalRuler.SnapToRuler = True

 

Used by: AutoRuler object