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