DicomObjects.NET.V8
DicomObjects Namespace / DicomLabel Class / RulerSpacing Property



In This Topic
    RulerSpacing Property
    In This Topic
    Controls the approximate spacing of the minor ticks for a ruler label
    Syntax
    'Declaration
     
    Public Property RulerSpacing As Integer
    'Usage
     
    Dim instance As DicomLabel
    Dim value As Integer
     
    instance.RulerSpacing = value
     
    value = instance.RulerSpacing
    public int RulerSpacing {get; set;}
    public:
    property int RulerSpacing {
       int get();
       void set (    int value);
    }
    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.0 or higher

    See Also