InsertForms2OleControl
DocumentBuilder.InsertForms2OleControl method
EklerForms2OleControl
nesneyi geçerli konuma taşı.
public Shape InsertForms2OleControl(Forms2OleControl forms2OleControl)
Geri dönüş değeri
Shape
geçeni içeren nesneForms2OleControl
Örnekler
ActiveX denetiminin nasıl ekleneceğini gösterir.
DocumentBuilder builder = new DocumentBuilder();
CommandButtonControl button1 = new CommandButtonControl();
Shape shape = builder.InsertForms2OleControl(button1);
Assert.AreEqual(Forms2OleControlType.CommandButton, button1.Type);
Ayrıca bakınız
- property OleFormat
- property OleControl
- class Shape
- class Forms2OleControl
- class DocumentBuilder
- ad alanı Aspose.Words
- toplantı Aspose.Words