Skip to main content

TdxRangeControlPredefinedDateHeaderScale.GetDisplayText(TDateTime,Integer) Method

Creates a specifically formatted text label for the Date/Time Header scale from the specified TDateTime value.

Declaration

function GetDisplayText(const ADate: TDateTime; AFormatId: Integer): string; override;

Parameters

Name Type
ADate TDateTime
AFormatId Integer

Returns

Type
string

Remarks

Normally, this function supports the internal infrastructure and is not intended to be used directly from your code. The GetDisplayText function is called internally by the range control in order to format scale headers in the case of the active Date/Time Header or Scheduler data range selection and visualization model.

The ADate and AFormatId parameters are used to specify the source date/time value and the data format index.

See Also