oaTextDisplayCollection
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaTextDisplayCollection 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaTextDisplayCollection 当前在 oapy 中可用的 Python 接口。
详细说明
The oaTextDisplayCollection class implements a set of textDisplays to traverse。 Collections are primarily used to initialize oaIters so the members of the collection can be accessed。
构造函数
_design.oaTextDisplayCollection(objIn)
obj = _design.oaTextDisplayCollection(objIn)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getCount() |
| ✅ | obj.isEmpty() |
| ✅ | obj.includes(td) |
方法说明
obj.getCount()
绑定状态: 已绑定
Python 调用: obj.getCount()
This function returns the number of textDisplays in the object。
Python 示例
from oapy._oa import _design
# assume obj is a oaTextDisplayCollection
obj.getCount()
obj.isEmpty()
绑定状态: 已绑定
Python 调用: obj.isEmpty()
This function returns true if this is an empty collection。
Python 示例
from oapy._oa import _design
# assume obj is a oaTextDisplayCollection
obj.isEmpty()
obj.includes(td)
绑定状态: 已绑定
Python 调用: obj.includes(td)
This function returns true if the specified object is in the collection。
Python 示例
from oapy._oa import _design
# assume obj is a oaTextDisplayCollection
obj.includes(td)