CARenderingStyle

Revision as of 13:02, 8 October 2015 by Jhuawen (talk | contribs) (Created page with "控制对象术语如何返回。 :0=其文标识符i(in actual CamelCase as it is defined) :1=CAObject* :2=其文本名称 :3=其文本标识符,但首字母大写(...")
Other languages:
English • ‎中文

ADE 用户指南 > ADE服务器类型参考 >

CARenderingStyle控制ADE方法和属性如何返回基元值。例如你可能想让数字以数字或者格式化文本的形式返回。

CARenderingStyle目前已经成为CAObject或者CATable上的属性。 DefTables ResultTables的CARenderingStyle属性的默认设置分别在 CAEngine::DefaultDefTableRenderingStyle CAEngine::DefaultRenderingStyle

属性

{get,put} bool FullPrecision

当数字值以文本方式呈现时,控制它们呈现时是全精度还是使用当前对象的数字个格式。

{get,put} bool GeneralExpression

当在DefTable设定值后,控制这些值时字符串常量还是表达式。如果设定为true,那么这些值将是表达式或者必须是带引号的字符串常量。

{get,put} short HandleFormat

控制对象术语如何返回。

0=其文标识符i(in actual CamelCase as it is defined)
1=CAObject*
2=其文本名称
3=其文本标识符,但首字母大写(第一个字母大写,其它字母都小写) 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
Comments


You are not allowed to post comments.