Image floating above text in table cell


#1

Hello
I want to put an floating Image (wmf), in table cell that has a background color but no text.
I’ using the following code:



dBui.InsertCell();

dBui.RowFormat.HeadingFormat = false;

dBui.CellFormat.Width = 55;

dBui.CellFormat.VerticalAlignment = CellVerticalAlignment.Top;

dBui.ParagraphFormat.StyleName = format;


dBui.CellFormat.Shading.Texture = TextureIndex.TextureNone;

dBui.CellFormat.Shading.BackgroundPatternColor = dBui.ParagraphFormat.Shading.BackgroundPatternColor;

Image startimg = Image.FromFile( imagePath );

dBui.InsertImage( startimg, RelativeHorizontalPosition.Character, 0.0,

RelativeVerticalPosition.Line, h*0.1, imageWidth, imageHeight, WrapType.None,WrapSide.Both, false, null);

startimg.Dispose();





But when I look at the document in word the image is not visible, although, in the image settings the image is set to in front of text.
Still the image is selectable with the pointer.

Is there a problem with table cells having background color set and floating images?

TIA
/Staffan


#2

I forgot to tell ,that if I, in Word, change the settings between floating above text to text wrap around and back again, the image will be visible.

TIA
/Staffan


#3

Hi,

Thanks for the request, we will look into the issue asap.