![]() |
MKI_ConvertAngleString (Strings) |
www.CAD6.com |
C++ Syntaxbool MKI_ConvertAngleString( LPWSTR f_pszText, double f_dValue, LPWSTR f_pszUnit );
Converts an angle value (based on the currently active angle unit) to a string.
ParametersText [LPWSTR] Text buffer to receive the converted double string. Allow at least MKI_LENGTH_NAME_SHORT characters! If Text is nullptr, the value will not be converted, only the current unit will be returned (see Unit). Value [double] Floating point value to be converted into a string. Unit [LPWSTR] Text buffer to receive the currently angle length unit in form of a short text (like [mm]). Allow at least MKI_LENGTH_NAME_UNIT characters! If Unit is nullptr, no unit text is returned.
Return ValueReturns true if successful. If false is returned, Text is unchanged.
CommentThis conversion will consider the decimal separator defined by the user (point or comma).
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH