Shape - Position Layout - Position Horizontal

Hi,

Could you tell me how I can set the horizontal position of Shape to be absolute and to the right of Column in Aspose.Words document? (see Word screenshot as a referenceposition.jpg (60.6 KB))

Thanks,
Lukasz

@acturisaspose

Please use the following code example to get the desired output.

// This creates a builder and also an empty document inside the builder.
DocumentBuilder builder = new DocumentBuilder();

// By default, the image is inline.
Shape shape = builder.InsertImage(@"image.png");

// Make the image float, put it behind text and center on the page.
shape.WrapType = WrapType.Square;
shape.Top = 10;
shape.Left = 10;
shape.BehindText = true;
shape.RelativeHorizontalPosition = RelativeHorizontalPosition.Column;
shape.RelativeVerticalPosition = RelativeVerticalPosition.Paragraph;

builder.Document.Save(MyDir + "19.7.docx");