Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRangeControlDateTimeScales.GetScale(TdxRangeControlDateTimeScaleUnit) Method

Returns a predefined scale by the specified measurement unit.

#Declaration

Delphi

#Parameters

Name Type
AScaleUnit TdxRangeControlDateTimeScaleUnit

#Returns

Type
TdxRangeControlDateTimeScale

#Remarks

Call this function to obtain an instance of the predefined scale graduated in measurement units passed as the AScaleUnit parameter. The GetScale function returns the following scale set’s property values, depending on the specified measurement unit:

Measurement Unit Property Value
rcduMinute Minute
rcduHour Hour
rcduDay Day
rcduWeek Week
rcduMonth Month
rcduQuarter Quarter
rcduYear Year

If the scale set has no predefined scale graduated using the specified unit (i.e., rcduSecond), the GetScale function returns nil.

See Also