DicomObjects Reference
DicomObjects Reference / DicomLabel Object / TickSpacing Property
True if the major tick size is being requested
TickSpacing Property
Description
The spacing between ticks of a doLabelRuler type label
Property type
Read-only property
Syntax
Visual Basic
Public Property TickSpacing( _
   ByVal MajorTicks As Boolean _
) As Double
Parameters
MajorTicks
True if the major tick size is being requested
Remarks

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 ZoomStretchMode 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.

See Also