EditCircle

将交互式圆形控件插入电子表格。单击该控件时,显示切换到交互图形模式,这样可以调整圆的位置和大小。

注意:要访问 EditCircle 的属性表,请右键单击 EditCircle 控件并选择编辑

EditCircle 输入

参数 说明
图像

This parameter must reference a spreadsheet cell that contains an 图像 data structure; by default, this parameter references A0, the cell containing the Image data structure returned by function. This parameter can also reference other 图像 data structures, such as those returned by the Vision Tool 图像函数 or 坐标变换函数.

固定

指定定义输入圆的图像坐标系。

X

在固定坐标中,偏移原点的 x 值。

Y

在固定坐标中,偏移原点的 y 值。

Theta

图像坐标系中图像 X 轴的旋转。(顺时针 +/-360 度)

移动

禁用或启用调整输入圆位置的功能。

0 = OFF

圆不能移动。

1 = ON (默认值)

圆可以移动。

大小

禁用或启用调整输入圆半径的功能。

0 = OFF

圆无法调整大小..

1 = ON (默认值)

圆可以调整大小。

名称

为电子表格中的 EditCircle 控件元素指定文本标签。

显示

指定图像上 EditCircle 图形叠加层的显示模式。

0 = 全部隐藏

圆圈将被隐藏,除非在电子表格中突出显示包含 EditCircle 函数的单元格。

2 = 仅输入图形

圆将始终显示。

EditCircle 输出

结果

在 EditCircle 控件右侧相邻的单元格中将自动创建一个结果表。

以下结构 Vision Data Access functions自动插入到电子表格中以创建结果表

标签 函数 说明

X

GetX(区域)

位置的 x 坐标。

Y

GetY(区域)

位置的 y 坐标。

半径

GetRadius(区域)

圆的半径。