This library seems very robust, but frankly the documentation for creating new PDF is lacking. In fact the documentation in general leaves a lot to be desired. I say this because I think the product has a lot of potential and I’d really love to see that part shored up.
Document d = new Document();
d.Pages.SetPageSize(8.5 * 72, 11 * 72);
OperatorCollection c = d.Pages.Contents;
c.Add(new Operator.MoveTo(25, 25));
c.Add(new Operator.LineTo(500, 500));
c.Add(new Operator.SetRGBColorStroke(.5, 0, 0));
So I can place a line and stroke it. I'm also able to draw boxes and fill them, but how can I draw a semi-transparent box with this method and place text at any X,Y position?
I also tried the Generator.* series of classes but it seems as if it doesn't allow for absolute X,Y placement.