active_x_control属性

active_x_control属性

获取 ActiveX 控件。

例子

from aspose import pycore
from aspose.cells.drawing.activexcontrols import CheckBoxActiveXControl

if shape.active_x_control != None:
    checkBox1 = pycore.cast(CheckBoxActiveXControl, shape.active_x_control)
    # The font name of CheckBox
    fontName = checkBox1.font.name

定义:

@property
def active_x_control(self):
    ...

也可以看看