CARenderingStyle
ADE 用户指南 > ADE服务器类型参考 >
CARenderingStyle控制ADE方法和属性如何返回基元值。例如你可能想让数字以数字或者格式化文本的形式返回。
CARenderingStyle目前已经成为CAObject或者CATable上的属性。 DefTables和 ResultTables的CARenderingStyle属性的默认设置分别在 CAEngine::DefaultDefTableRenderingStyle和 CAEngine::DefaultRenderingStyle上
属性
{get,put} bool FullPrecision
当数字值以文本方式呈现时,控制它们呈现时是全精度还是使用当前对象的数字个格式。
{get,put} bool GeneralExpression
When setting values in a DefTable, controls whether the values are constant strings or expressions. If true, they are expressions and constant string values must be quoted.
{get,put} short HandleFormat
Controls how object terms are returned.
- 0=its textual identifier (in actual CamelCase as it is defined)
- 1=CAObject*
- 2=its textual title
- 3=its textual identifier, but in Sentencecase (first letter upper, all others lower). New to Analytica 4.3
{get,put} bool NewLineAsCRLF
When true, newline characters in text are converted to [CRLF]. Default=true.
New-lines won't print correctly when printed to a console window, such as from cscripts, unless this is true. But if you want to obtain exactly the characters present in a text value, set to false.
{get,put} variant NullValue
The value returned for the special value Null.
{get,put} bool NumberAsText
Whether numeric values should be returned as strings or as numbers.
{get,put} bool ReferenceAsText
Controls whether reference atoms are rendered as text (TRUE), or whether they are dereferenced and returned as a CATable (FALSE).
{get,put} long SafeArrayLowerBound
The lower bound of safe array dimensions returned by GetSafeArray.
{get,put} short StringQuotes
Controls whether string value are quoted. 0=unquoted, 1=single quotes, 2=double quotes.
{get,put} variant UndefValue
The value returned for the special value Undefined.
弃用
{get,put} short VarTermFormat([out,retval] SHORT* )
弃用——使用CARenderingStyle::HandleFormat
另请参考
| CAIndex <- | CARenderingStyle | -> CALicense |
Enable comment auto-refresher