Hi Hadi,
Thanks for your inquiry. You can use DocuemntBuilder.MoveToXXX methods to move cursor to the necessary position. After inserting an image/shape, you can change its formation how it is needed. For instance, please see the following code to be able to make the Shape float, put it behind text and set it’s position on the page:
DocumentBuilder builder = new DocumentBuilder();
builder.Writeln("some text");
builder.MoveToDocumentEnd();
Shape shape = builder.InsertImage(@"C:\Temp\Aspose.Words.png");
shape.Width= 300;
shape.Height = 300;
shape.Top = 100;
shape.Left = 100;
shape.WrapType = WrapType.None;
shape.BehindText = true;
builder.Document.Save(@"C:\Temp\out.docx");
I hope, this helps.
Best regards,