GetTickSpacing(Boolean,DicomImage,DicomViewer) Method
In This Topic
Returns the size of the spacing used in a DicomLabel of type Ruler
Syntax
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
Requirements
Target Platforms: .NET CLR 4.0 or higher
See Also