Type
CommandButtonControl.Type property
Hämtar typ av Forms 2.0-kontroll.
public override Forms2OleControlType Type { get; }
Exempel
Visar hur man infogar ActiveX-kontroll.
DocumentBuilder builder = new DocumentBuilder();
CommandButtonControl button1 = new CommandButtonControl();
Shape shape = builder.InsertForms2OleControl(button1);
Assert.AreEqual(Forms2OleControlType.CommandButton, button1.Type);
Se även
- enum Forms2OleControlType
- class CommandButtonControl
- namnutrymme Aspose.Words.Drawing.Ole
- hopsättning Aspose.Words