InsertForms2OleControl
DocumentBuilder.InsertForms2OleControl method
InserimentiForms2OleControl
oggetto nella posizione corrente.
public Shape InsertForms2OleControl(Forms2OleControl forms2OleControl)
Valore di ritorno
Shape
oggetto che contiene passatoForms2OleControl
Esempi
Mostra come inserire un controllo ActiveX.
DocumentBuilder builder = new DocumentBuilder();
CommandButtonControl button1 = new CommandButtonControl();
Shape shape = builder.InsertForms2OleControl(button1);
Assert.AreEqual(Forms2OleControlType.CommandButton, button1.Type);
Guarda anche
- property OleFormat
- property OleControl
- class Shape
- class Forms2OleControl
- class DocumentBuilder
- spazio dei nomi Aspose.Words
- assemblea Aspose.Words