Visual Basic |
---|
Public Property TickSpacing( _ ByVal MajorTicks As Boolean _ ) As Double |
The value returned is the spacing in nominal mm between tick marks on the ruler displayed. Note that depending on the type of image, these may not be true patient measurements, and the ROIDistanceUnits property should be checked to see whether these are “mm at imager” etc.
If MajorTicks is true, then the value is the spacing between large marks, and if false, it will be the small mark spacing. The large mark spacing is always exactly 2, 5 or 10 time the small mark spacing.
The values returned by this property are highly labile, and will change if the Zoom, StretchMode or any other display parameters of the associated image are altered, so if used for display purposes, it may be advisable to update in the DrawStart event.