You are here: Symbol Reference > SignalTools Namespace > Classes > TSpectrum Class > public > TSpectrum.ValuesToStrings Method
DSP Master VCL
ContentsIndex
PreviousUpNext
TSpectrum.ValuesToStrings Method

Convert values to strings.

Pascal
procedure ValuesToStrings(Dst: TStrings; const FrequencyFormat: string = ''; const AmplitudeFormat: string = ''; const PhaseFormat: string = ''; const XTitle: string = 'Frequency [Hz]'; const ATitle: string = 'Amplitude'; const PTitle: string = 'Phase'; IncludePhase: boolean = True; const Delimiter: string = ''); virtual;

The strings will be stored in TStrings object with three columns, alligned for display with a fixed charachter width Font. The Header of each column is defined with the XTitle and ATitle and PTitle properties. The header line will not be displayed, if you set XTitle, ATitle and PTitle to empty strings. The width of the columns is defined with global variable: SignalTextColumnWidth. If FrequencyFormat, AmplitudeFormat or PhaseFormat is an empty string, full numeric precision will be used for the coresponding column.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!