Type
CommandButtonControl.Type property
获取 Forms 2.0 控件的类型。
public override Forms2OleControlType Type { get; }
例子
展示如何插入 ActiveX 控件。
DocumentBuilder builder = new DocumentBuilder();
CommandButtonControl button1 = new CommandButtonControl();
Shape shape = builder.InsertForms2OleControl(button1);
Assert.AreEqual(Forms2OleControlType.CommandButton, button1.Type);
也可以看看
- enum Forms2OleControlType
- class CommandButtonControl
- 命名空间 Aspose.Words.Drawing.Ole
- 部件 Aspose.Words