Convert to pdf text box fill color

Hi,


I’m working with code that appears correctly in word, though when I use the code to generate a pdf the fill does not appear in the text box.

The other issue I’ve noticed in the pdf version of the report is that the text appears with a slight shadow which makes it hard to read on screen. This does not happen to all the text in the document so I was wondering why this occurs and how to avoid it. Samples provided in the attachments.

This is the code used for the shape. I have also used a TextBox shape with no difference.
NoteDynamicplate = New Shape(Report.Document, ShapeType.Rectangle)
NoteDynamicplate.WrapType = WrapType.Through
NoteDynamicplate.BehindText = False
NoteDynamicplate.ZOrder = 3
NoteDynamicplate.Width = 190 * 72 / 25.4
NoteDynamicplate.Height = 10 * 72 / 25.4
NoteDynamicplate.Filled = True
NoteDynamicplate.Fill.Color = System.Drawing.ColorTranslator.FromHtml(DefaultLightBlue)
NoteDynamicplate.Stroked = False
NoteDynamicplate.RelativeHorizontalPosition = Aspose.Words.Drawing.RelativeHorizontalPosition.Page
NoteDynamicplate.RelativeVerticalPosition = Aspose.Words.Drawing.RelativeVerticalPosition.Page
NoteDynamicplate.Left = 0 * 72 / 25.4
NoteDynamicplate.Top = 11 * 72 / 25.4
GroupShape.AppendChild(NoteDynamicplate)

Hi Tariq,

Thanks for your query. It would be great if you please share your complete code to create GroupShapes for investigation purposes.