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