首页 / design / oaTextDisplay

oaTextDisplay

模块: oapy._oa._design 导入: from oapy._oa import _design

概览

oaTextDisplayoapy 中可用,可通过 _design 模块访问。

本页汇总 oaTextDisplay 当前在 oapy 中可用的 Python 接口。

详细说明

This class is the base class for all types of textDisplay shapes。 The textDisplay shapes are associated with other design objects so that graphical applications can display text strings representing attributes and properties of the associated object。

方法总览

状态 Python 调用
obj.getOrigin(origin)
obj.getAlignment()
obj.getOrient()
obj.getFont()
obj.getHeight()
obj.getFormat()
obj.hasOverbar()
obj.isVisible()
obj.isDrafting()
obj.getText(text)
obj.setOrigin(origin)
obj.setAlignment(alignment)
obj.setOrient(orient)
obj.setFont(font)
obj.setHeight(height)
obj.setFormat(format)
obj.setOverbar(overbar)
obj.setVisible(visible)
obj.setDrafting(drafting)
_design.oaTextDisplay.getTextDisplays(object)

方法说明

obj.getOrigin(origin)

绑定状态: 已绑定

Python 调用: obj.getOrigin(origin)

This function returns the origin of this textDisplay object。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.getOrigin(origin)

obj.getAlignment()

绑定状态: 已绑定

Python 调用: obj.getAlignment()

This function returns the alignment of this textDisplay object。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.getAlignment()

obj.getOrient()

绑定状态: 已绑定

Python 调用: obj.getOrient()

This function returns the orientation of this textDisplay object。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.getOrient()

obj.getFont()

绑定状态: 已绑定

Python 调用: obj.getFont()

This function returns the font of this textDisplay object。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.getFont()

obj.getHeight()

绑定状态: 已绑定

Python 调用: obj.getHeight()

This function returns the height of this textDisplay object。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.getHeight()

obj.getFormat()

绑定状态: 已绑定

Python 调用: obj.getFormat()

This function returns the format of this textDisplay object。 The format determines the value (the text string) this textDisplay presents upon request。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.getFormat()

obj.hasOverbar()

绑定状态: 已绑定

Python 调用: obj.hasOverbar()

This function returns a boolean value that indicates if this textDisplay has an overbar on it。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.hasOverbar()

obj.isVisible()

绑定状态: 已绑定

Python 调用: obj.isVisible()

This function returns a boolean value that indicates if this textDisplay displays。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.isVisible()

obj.isDrafting()

绑定状态: 已绑定

Python 调用: obj.isDrafting()

This function returns a boolean value that indicates if this textDisplay displays in drafting style。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.isDrafting()

obj.getText(text)

绑定状态: 已绑定

Python 调用: obj.getText(text)

This function returns the value of this textDisplay object。 The text String is evaluated if necessary。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.getText(text)

obj.setOrigin(origin)

绑定状态: 已绑定

Python 调用: obj.setOrigin(origin)

This function sets the origin for this textDisplay object to the specified value。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.setOrigin(origin)

obj.setAlignment(alignment)

绑定状态: 已绑定

Python 调用: obj.setAlignment(alignment)

This function sets the alignment for this textDisplay object to the specified value。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.setAlignment(alignment)

obj.setOrient(orient)

绑定状态: 已绑定

Python 调用: obj.setOrient(orient)

This function sets the orientation for this textDisplay object to the specified value。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.setOrient(orient)

obj.setFont(font)

绑定状态: 已绑定

Python 调用: obj.setFont(font)

This function sets the font used by this textDisplay object。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.setFont(font)

obj.setHeight(height)

绑定状态: 已绑定

Python 调用: obj.setHeight(height)

This function sets the height of this textDisplay object to the specified value。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.setHeight(height)

obj.setFormat(format)

绑定状态: 已绑定

Python 调用: obj.setFormat(format)

This function sets the format of this textDisplay object to the specified value。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.setFormat(format)

obj.setOverbar(overbar)

绑定状态: 已绑定

Python 调用: obj.setOverbar(overbar)

This function sets the flag that indicates if this textDisplay object displays with an overbar。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.setOverbar(overbar)

obj.setVisible(visible)

绑定状态: 已绑定

Python 调用: obj.setVisible(visible)

This function sets the flag that indicates if this textDisplay object is visible。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.setVisible(visible)

obj.setDrafting(drafting)

绑定状态: 已绑定

Python 调用: obj.setDrafting(drafting)

This function sets the flag that indicates if this textDisplay object displays in drafting mode。

Python 示例

from oapy._oa import _design

# assume obj is a oaTextDisplay
obj.setDrafting(drafting)

_design.oaTextDisplay.getTextDisplays(object)

绑定状态: 已绑定

Python 调用: _design.oaTextDisplay.getTextDisplays(object)

This function returns a collection of textDisplays for the specified object。

Python 示例

from oapy._oa import _design

_design.oaTextDisplay.getTextDisplays(object)