Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NRuler Class
Fields Properties Methods


In This Topic
    NRuler Class Members
    In This Topic

    The following tables list the members exposed by NRuler.

    Public Fields
     NameDescription
    Public FieldSpecifies the default font name with which the rulers are initialized  
    Public FieldSpecifies the default font size with which the rulers are initialized  
    Public FieldDeletate for formatting the text values of the ruler. When assigned the ruler will call the delegate instead of using the default TextFormat.  
    Top
    Public Properties
     NameDescription
    Public PropertySpecifies whether the measurement unit of the view component must be automatically sychronized with the document measurement unit (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Public PropertyControls the ruler back color  
    Public PropertySpecifies the major ticks step when the MajorTicksStepMode is set to Fixed (in ruler measurement units)  
    Public PropertyControls the ruler frame color  
    Public PropertyControls the color of the coordinate highlight tick  
    Public PropertyControls the color of the range highlight filling  
    Public PropertyControls the color of the major ticks  
    Public PropertyControls the mode in which the major ticks step is determined  
    Public PropertyGets/sets the measurement unit of the node (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Public PropertyGets/sets a custom scale factor to be applied to the ruler measurement unit. (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Public PropertyContorls the color of the minor ticks  
    Public PropertyControls the count of minor ticks between two major ones  
    Public PropertyControls the length of the minor ticks (in pixels)  
    Public PropertyContorls the ruler origin (in ruler measurement unit)  
    Public PropertyControls the padding of the ruler (in pixels)  
    Public PropertyControls the size of the ruler (in pixels)  
    Public PropertyContorls the color of the ruler texts  
    Public PropertyGets/sets the font style of the ruler texts  
    Public PropertyControls the ruler texts format string. Not taken into account when the FormatValueDelegate is assigned.  
    Public PropertyControls the visibility of the ruler  
    Top
    Public Methods
     NameDescription
    Public MethodDetermines whether the node can be painted in the specified context  
    Public MethodClamps the specified coordinate to the ruler paint area  
    Public MethodCreates an identical copy of this instance (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Public MethodComputes an automatic step for the specified step mode (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Public MethodOverloaded. Converts component units to view units (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Public MethodCalled when the measurement unit of the measurements stored in this node have changed and all measurements must be converted to the new unit (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Public MethodOverloaded. Converts a view units to component units (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Public MethodOverridden.   
    Public MethodOverridden.   
    Public MethodEnds a highlights update session  
    Public Method (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Public MethodReturns the tick step which is actually used by the ruler  
    Public MethodHighlights the specified coordinate (in pixels)  
    Public MethodHighlights the specified range (in pixels)  
    Public MethodInvalidates the ruler  
    Public MethodDirectly invalidates only the area of the currently highlighted coordinate  
    Public MethodDirectly invalidates only the area of the currently highlighted range  
    Public MethodDetermines whether the specified coordinate is inside the ruler paint area  
    Public MethodPaints the ruler in the specified context  
    Public MethodCalled to provide a reference to the object of the specified type (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Public MethodStarts a highlights update session  
    Public MethodCalled when the document measurement unit has changed in order to synchronize the local measurement unit of the view component (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Public MethodOverridden.   
    Public MethodBinds the object to its parent object (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Top
    Protected Methods
     NameDescription
    Protected MethodMeasures the specified X style length in pixels (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Protected MethodMeasures the specified Y style length in pixels (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Protected MethodGeneral property changed handler, which fires the NodePropertyChanged event (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Protected MethodGeneral property changing handler, which fires the NodePropertyChanging event (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Protected MethodSafely pauses the event sink service (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Protected MethodSafely resumes the event sink service (Inherited from Nevron.Diagram.WinForm.NViewComponent)
    Top
    See Also