GetTickSpacing(Boolean,DicomImage,DicomViewer) Method
Returns the size of the spacing used in a DicomLabel of type Ruler
'Declaration
Public Function GetTickSpacing( _
ByVal As System.Boolean, _
ByVal As DicomImage, _
ByVal As DicomViewer _
) As System.Single
'Usage
Dim instance As DicomLabel
Dim MajorTicks As System.Boolean
Dim Image As DicomImage
Dim Viewer As DicomViewer
Dim value As System.Single
value = instance.GetTickSpacing(MajorTicks, Image, Viewer)
Parameters
- MajorTicks
-
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.
- Image
- The image from which the pixel data is taken for the calculations
- Viewer
- The Viewer in which the image is displayed
Return Value
A float number as the spacing between tick marks on the ruler
displayed
Target Platforms: .NET CLR 4.8 or higher