DicomObjects.NET8 Documentation
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also