DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLabel Class / RulerSpacing Property






    RulerSpacing Property
    Controls the approximate spacing of the minor ticks for a ruler label
    Syntax
    'Declaration
     
    
    Public Property RulerSpacing As System.Integer
     
    'Usage
     
    
    Dim instance As DicomLabel
    Dim value As System.Integer
     
    instance.RulerSpacing = value
     
    value = instance.RulerSpacing
    Remarks

    This value is measured in screen/output pixels. When drawing a ruler, DicomObjects first calculates the distance (in mm) corresponding to this number of output pixels. It then rounds it up to the next significant figure (1, 2 or 5 times a power of 10) and uses that as the minor tick spacing.

    The default value is 20

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also