元编程参考文档

笔记本单元

19 个节点

本页内容 19

按钮

函数

此节点没有文档说明。

签名
按钮(标签: 文本, 计算函数: Func<任意>) -> Notebook Cell
NotebookCell Button(string label, Func<object> compute)

参数

名称类型默认值说明
标签文本—
计算函数Func<任意>—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

复选框

函数

此节点没有文档说明。

签名
复选框 -> Notebook Cell
    标签: 文本
    初始值: 真否
    计算函数: Func<真否, 任意>
NotebookCell Checkbox(
    string label,
    bool initial,
    Func<bool, object> compute)

参数

名称类型默认值说明
标签文本—
初始值真否—
计算函数Func<真否, 任意>—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

选项

函数

此节点没有文档说明。

签名
选项 -> Notebook Cell
    标签: 文本
    选项: 文本数组
    初始值: 文本
    计算函数: Func<文本, 任意>
NotebookCell Choice(
    string label,
    string[] options,
    string initial,
    Func<string, object> compute)

参数

名称类型默认值说明
标签文本—
选项文本数组—
初始值文本—
计算函数Func<文本, 任意>—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

日期

函数

此节点没有文档说明。

签名
日期 -> Notebook Cell
    标签: 文本
    初始值: 文本
    计算函数: Func<文本, 任意>
NotebookCell Date(
    string label,
    string initial,
    Func<string, object> compute)

参数

名称类型默认值说明
标签文本—
初始值文本—A date as yyyy-MM-dd; empty for none.
计算函数Func<文本, 任意>—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

禁用

函数

The cell, starting disabled; a function can enable it with Set Enabled.

签名
禁用(单元: Notebook Cell) -> Notebook Cell
NotebookCell Disabled(NotebookCell cell)

参数

名称类型默认值说明
单元Notebook Cell—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

分组

函数

An input group: several fields, one function of all of them.

签名
分组 -> Notebook Cell
    标签: 文本
    字段: Notebook Cell 数组
    计算函数: Func<Notebook Inputs, 任意>
NotebookCell Group(
    string label,
    NotebookCell[] fields,
    Func<NotebookInputs, object> compute)

参数

名称类型默认值说明
标签文本—
字段Notebook Cell 数组—Input cells; their own functions are not called - the group's is.
计算函数Func<Notebook Inputs, 任意>—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

标题

函数

此节点没有文档说明。

签名
标题(文本: 文本) -> Notebook Cell
NotebookCell Heading(string text)

参数

名称类型默认值说明
文本文本—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

HTML

函数

此节点没有文档说明。

签名
HTML(HTML: 文本) -> Notebook Cell
NotebookCell Html(string html)

参数

名称类型默认值说明
HTML文本—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

图像

函数

此节点没有文档说明。

签名
图像(图像: 任意, 标题: 文本) -> Notebook Cell
NotebookCell Image(object image, string caption = "")

参数

名称类型默认值说明
图像任意—A Divooka image, or a picture file's path.
标题文本—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

Markdown 文本

函数

此节点没有文档说明。

签名
Markdown 文本(文本: 文本) -> Notebook Cell
NotebookCell Markdown(string text)

参数

名称类型默认值说明
文本文本—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

数字

函数

此节点没有文档说明。

签名
数字 -> Notebook Cell
    标签: 文本
    初始值: 数字
    计算函数: Func<数字, 任意>
NotebookCell Number(
    string label,
    double initial,
    Func<double, object> compute)

参数

名称类型默认值说明
标签文本—
初始值数字—
计算函数Func<数字, 任意>—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

首选视图

函数

The cell, first showing a table, series or chart output a particular way.

签名
首选视图(单元: Notebook Cell, 视图: 文本) -> Notebook Cell
NotebookCell PreferView(NotebookCell cell, string view)

参数

名称类型默认值说明
单元Notebook Cell—
视图文本—table, line, scatter, bar, histogram, interactive or image.

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

只读

函数

The cell, showing its value without letting it be changed.

签名
只读(单元: Notebook Cell) -> Notebook Cell
NotebookCell ReadOnly(NotebookCell cell)

参数

名称类型默认值说明
单元Notebook Cell—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

显示

函数

A cell with no input that shows what its function answers when the page loads.

签名
显示(标签: 文本, 计算函数: Func<任意>) -> Notebook Cell
NotebookCell Show(string label, Func<object> compute)

参数

名称类型默认值说明
标签文本—
计算函数Func<任意>—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

滑块

函数

此节点没有文档说明。

签名
滑块 -> Notebook Cell
    标签: 文本
    最小值: 数字
    最大值: 数字
    初始值: 数字
    计算函数: Func<数字, 任意>
NotebookCell Slider(
    string label,
    double min,
    double max,
    double initial,
    Func<double, object> compute)

参数

名称类型默认值说明
标签文本—
最小值数字—
最大值数字—
初始值数字—
计算函数Func<数字, 任意>—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

多行文本框

函数

此节点没有文档说明。

签名
多行文本框 -> Notebook Cell
    标签: 文本
    初始值: 文本
    计算函数: Func<文本, 任意>
NotebookCell TextArea(
    string label,
    string initial,
    Func<string, object> compute)

参数

名称类型默认值说明
标签文本—
初始值文本—
计算函数Func<文本, 任意>—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

文本框

函数

此节点没有文档说明。

签名
文本框 -> Notebook Cell
    标签: 文本
    初始值: 文本
    计算函数: Func<文本, 任意>
NotebookCell TextBox(
    string label,
    string initial,
    Func<string, object> compute)

参数

名称类型默认值说明
标签文本—
初始值文本—
计算函数Func<文本, 任意>—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

开关

函数

此节点没有文档说明。

签名
开关 -> Notebook Cell
    标签: 文本
    初始值: 真否
    计算函数: Func<真否, 任意>
NotebookCell Toggle(
    string label,
    bool initial,
    Func<bool, object> compute)

参数

名称类型默认值说明
标签文本—
初始值真否—
计算函数Func<真否, 任意>—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本

上传

函数

此节点没有文档说明。

签名
上传 -> Notebook Cell
    标签: 文本
    种类: Notebook Upload Kind
    计算函数: Func<Notebook File, 任意>
NotebookCell Upload(
    string label,
    NotebookUploadKind kind,
    Func<NotebookFile, object> compute)

参数

名称类型默认值说明
标签文本—
种类Notebook Upload Kind—
计算函数Func<Notebook File, 任意>—

返回

结果Notebook Cell
所属发行版
元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
笔记本单元
所属包
元编程笔记本