Hi,
I am trying to add a free text annotation (which is I guess the closest to a simple postit like readonly note on the document - if not please correct me). What I need is semi-transparency on this so that user can see both the text on note and the text under the note.
The object has opacity property, but I am unable to get it work. I always end up with fully opaque annotation. Below is the sample code I use:
FreeTextAnnotation freetextAnnotation = new FreeTextAnnotation(pdf.Pages[1], new Aspose.Pdf.Rectangle(200, 400, 400, 600), default_appearance);
freetextAnnotation.Title = "aaaa";
freetextAnnotation.Subject = "xxxx";
freetextAnnotation.Contents = "ccccc";
freetextAnnotation.Border = new Border(freetextAnnotation);
freetextAnnotation.Rect = new Aspose.Pdf.Rectangle(200, 400, 400, 600);
freetextAnnotation.Characteristics.Background = Color.Yellow;
freetextAnnotation.Opacity = 0.5f;
Please advise on how to add a semi-transparent text note.
Thanks.