Skip to main content

LinearScale Methods

Represents the base class for scales in linear gauges.
Name Description
Assign(LinearScale) Copies settings of the specified object to the current object.
BeginTransform() Prevents the transformation of the BaseLeafPrimitive object from being performed until the EndTransform method is called. Inherited from BaseLeafPrimitive.
CalcHitInfo(Point) Retrieves information on the object’s inner element, located under the specified point. Inherited from BaseLeafPrimitive.
CancelTransform() Unlocks the object after the BeginTransform method has been called, without performing transformation. Inherited from BaseLeafPrimitive.
CreateLabel() Creates a label object of the type that is compatible with the current LinearScale object.
CreateRange() Creates a range object of the type that is compatible with the current LinearScale object.
Dispose() Disposes the BaseObject object. Inherited from BaseObject.
EndTransform() Unlocks the BaseLeafPrimitive object after the BeginUpdate method call and performs object transformation. Inherited from BaseLeafPrimitive.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetInternalValue() Gets the actual value that has been assigned to the scale.
GetType() Gets the Type of the current instance. Inherited from Object.
IsDifferFrom(LinearScale) Returns whether the current object has different settings than the specified one.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
PercentToPoint(Single) Converts the specified percent value to the corresponding point along the scale, between the LinearScale.StartPoint and LinearScale.EndPoint.
PercentToValue(Single) Converts the specified percent to a value.
PointToPercent(PointF) Converts the specified point along the scale to the corresponding percent value in relation to the LinearScale.StartPoint and LinearScale.EndPoint.
PointToValue(PointF)
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ResetTransform() Resets the object’s location, rotation angle and scale factor. Inherited from BaseLeafPrimitive.
ToString() Returns a string that represents the current object. Inherited from Object.
ValueToPercent(Single) Returns the percent of the specified value in relation to the scale’s minimum and maximum values.
WaitForPendingDelayedCalculation() For internal use only. Inherited from BaseLeafPrimitive.
XtraCreateLabelsItem(XtraItemEventArgs) This member supports the internal infrastructure and is not intended to be used directly from your code.
XtraCreateRangesItem(XtraItemEventArgs) This member supports the internal infrastructure and is not intended to be used directly from your code.
XtraCreateShader(XtraItemEventArgs) This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BaseLeafPrimitive.
See Also