EditPolylinePath

将交互式组合一维折线区域控件插入电子表格。单击该控件时,显示切换到交互图形模式,这样可以修改折线路径。

注意:
  • 要访问 EditPolylinePath 的属性表,请右键单击 EditPolylinePath 控件并选择编辑函数
  • 在图形编辑中,可以使用右击菜单添加路径段或删除路径段。
  • InspectEdgeForDefect 函数不能与将 EditPolylinePath 函数用作外部区域的 InspectEdge 函数结合使用。
  • 对于 EditPolylinePath,该按钮已禁用。

EditPolylinePath 输入

参数 说明
图像

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 度)

添加点

如果选中(默认),则可以在交互式图形模式下将点添加到折线。

移除点

如果选中(默认),则可以在交互式图形模式下移除点。

移动点 如果选中(默认),则可以在交互式图形模式下移动点。

移动整个折线

如果选中(默认),则可以在交互式图形模式下移动整个折线路径。

缩放

如果选中(默认),则可以在交互式图形模式下缩放整个折线路径。

旋转 如果选中(默认),则可以在交互图形模式下旋转整个折线路径。

名称

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

显示

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

0 = 全部隐藏

组合区域将被隐藏,除非在电子表格中突出显示包含 EditPolylinePath 函数的单元格。

2 = 仅输入图形

组合折线路径将始终显示。

EditPolylinePath 输出

结果

EditRegion 控件。