Nevron .NET Vision
NHorizontalRuler Class Members
Fields  Properties  Methods 


The following tables list the members exposed by NHorizontalRuler.

Public Constructors
 NameDescription
Public ConstructorNHorizontalRuler ConstructorDefault constructor  
Top
Public Fields
 NameDescription
Public FielddefaultFontNameSpecifies the default font name with which the rulers are initialized (Inherited from Nevron.Diagram.WinForm.NRuler)
Public FielddefaultFontSizeSpecifies the default font size with which the rulers are initialized (Inherited from Nevron.Diagram.WinForm.NRuler)
Public FieldFormatValueDelegateDeletate for formatting the text values of the ruler. When assigned the ruler will call the delegate instead of using the default TextFormat. (Inherited from Nevron.Diagram.WinForm.NRuler)
Top
Public Properties
 NameDescription
Public PropertyAutoSynchronizeMeasurementUnitSpecifies whether the measurement unit of the view component must be automatically sychronized with the document measurement unit (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public PropertyBackColorControls the ruler back color (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyEventSinkServiceObtains the view event sink service, to which the node is currently connected (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public PropertyFixedMajorTicksStepSpecifies the major ticks step when the MajorTicksStepMode is set to Fixed (in ruler measurement units) (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyFrameColorControls the ruler frame color (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyHighlightCoordinateColorControls the color of the coordinate highlight tick (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyHighlightRangeColorControls the color of the range highlight filling (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyIsUpdatingHighlightsDetermines whether the ruler is currenly in an update highlighting session (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyMajorTicksColorControls the color of the major ticks (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyMajorTicksStepModeControls the mode in which the major ticks step is determined (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyMeasurementUnitGets/sets the measurement unit of the node (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public PropertyMeasurementUnitScaleGets/sets a custom scale factor to be applied to the ruler measurement unit. (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public PropertyMinorTicksColorContorls the color of the minor ticks (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyMinorTicksCountControls the count of minor ticks between two major ones (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyMinorTicksLengthControls the length of the minor ticks (in pixels) (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyOriginContorls the ruler origin (in ruler measurement unit) (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyPaddingControls the padding of the ruler (in pixels) (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyParentNodeObtains the node parent in the scene tree hierachy (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public PropertyRootNodeObtains the root node in the scene tree hierachy (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public PropertySizeControls the size of the ruler (in pixels) (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertySmartPaintServiceObtains the view smart paint service, to which the node is currently connected (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public PropertyTextColorContorls the color of the ruler texts (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyTextFontStyleGets/sets the font style of the ruler texts (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyTextFormatControls the ruler texts format string. Not taken into account when the FormatValueDelegate is assigned. (Inherited from Nevron.Diagram.WinForm.NRuler)
Public PropertyViewObtains a reference to the view (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public PropertyVisibleControls the visibility of the ruler (Inherited from Nevron.Diagram.WinForm.NRuler)
Top
Public Methods
 NameDescription
Public MethodCanPaintOverridden. Determines whether the ruler can be painted in the specified context  
Public MethodClampToRulerPaintAreaOverridden. Clamps the specified coordinate to the ruler paint area  
Public MethodCloneCreates an identical copy of this instance (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public MethodComputeAutoStepComputes an automatic step for the specified step mode (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public MethodConvertComponentToViewOverloaded. Converts component units to view units (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public MethodConvertMeasurementUnitOverridden. Called when the measurement unit of the measurements stored in this node have changed and all measurements must be converted to the new unit  
Public MethodConvertViewToComponentOverloaded. Converts a view units to component units (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public MethodCreateFieldNonSerializedObjects (Inherited from Nevron.Diagram.WinForm.NRuler)
Public MethodCreateNonSerializedObjects (Inherited from Nevron.Diagram.WinForm.NRuler)
Public MethodEndHighlightsUpdateEnds a highlights update session (Inherited from Nevron.Diagram.WinForm.NRuler)
Public MethodGetReferenceProvider (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public MethodGetUsedMajorTickStepReturns the tick step which is actually used by the ruler (Inherited from Nevron.Diagram.WinForm.NRuler)
Public MethodHighlightCoordinateHighlights the specified coordinate (in pixels) (Inherited from Nevron.Diagram.WinForm.NRuler)
Public MethodHighlightRangeHighlights the specified range (in pixels) (Inherited from Nevron.Diagram.WinForm.NRuler)
Public MethodInvalidateInvalidates the ruler (Inherited from Nevron.Diagram.WinForm.NRuler)
Public MethodInvalidateHighlightedCoordinateOverridden. Directly invalidates only the area of the currently highlighted coordinate  
Public MethodInvalidateHighlightedRangeOverridden. Directly invalidates only the area of the currently highlighted range  
Public MethodIsInRulerPaintAreaOverridden. Determines whether the specified coordinate is inside the ruler paint area  
Public MethodPaintOverridden. Paints the ruler in the specified context  
Public MethodProvideReferenceCalled to provide a reference to the object of the specified type (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Public MethodSnapXTries to snap the specified X coordinate  
Public MethodStartHighlightsUpdateStarts a highlights update session (Inherited from Nevron.Diagram.WinForm.NRuler)
Public MethodSynchronizeMeasurmentUnitCalled 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 MethodUpdateFieldReferences (Inherited from Nevron.Diagram.WinForm.NRuler)
Public MethodUpdateReferencesBinds the object to its parent object (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Top
Protected Methods
 NameDescription
Protected MethodMeasureStyleLengthXInPixelsMeasures the specified X style length in pixels (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Protected MethodMeasureStyleLengthYInPixelsMeasures the specified Y style length in pixels (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Protected MethodOnPropertyChangedGeneral property changed handler, which fires the NodePropertyChanged event (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Protected MethodOnPropertyChangingGeneral property changing handler, which fires the NodePropertyChanging event (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Protected MethodPauseEventSinkServiceSafely pauses the event sink service (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Protected MethodResumeEventSinkServiceSafely resumes the event sink service (Inherited from Nevron.Diagram.WinForm.NViewComponent)
Top
See Also

Reference

NHorizontalRuler Class
Nevron.Diagram.WinForm Namespace

 

 


©2021. Nevron Software LLC.

Send Feedback