You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
628 B
Markdown
34 lines
628 B
Markdown
|
2 years ago
|
# FindElementByName
|
||
|
|
|
||
|
|
## 定义
|
||
|
|
|
||
|
|
根据名称查找并激活图元
|
||
|
|
|
||
|
|
```CSharp
|
||
|
|
public int FindElementByName(string content, bool matchAll = false, bool matchCase = false, int elementType = 0, bool editableOnly = true)
|
||
|
|
```
|
||
|
|
|
||
|
|
## 请求参数
|
||
|
|
|
||
|
|
| 参数 | 类型 | 约束 | 说明 |
|
||
|
|
| - | - | - | - |
|
||
|
|
| content | string | | 图元名称 |
|
||
|
|
| matchAll | bool | | 全字匹配 |
|
||
|
|
| matchCase | bool | | 匹配大小写 |
|
||
|
|
| elementType | int | | 图元类型 |
|
||
|
|
| editableOnly | bool | | 是否只查找可编辑图元 |
|
||
|
|
|
||
|
|
|
||
|
|
## 返回
|
||
|
|
|
||
|
|
类型: int
|
||
|
|
查找结果
|
||
|
|
|
||
|
|
|
||
|
|
## 请求示例
|
||
|
|
|
||
|
|
## 错误处理
|
||
|
|
|
||
|
|
## 注意事项
|
||
|
|
|