yes the problem is that you are using a very old version of the library, the methods used in the knowledge base article are new and available from the new versions of the library.
I suggest you to upgrade your library and all will work.
I upgraded the library to the 3.5.1 version but it still doesn't work.
You were right for the version because now few methods are recognized, but:
- docimage still return null,
- res is not declared so I must put comments on the line where the variable res is used.
PageContent pageContent = new PageContent();
com.radaee.pdf.Matrix mat = new com.radaee.pdf.Matrix(rect, rect, rect, rect);
Document.DocImage docimage = m_doc.NewImage(bitmap, false); // I got "docimage: null"
page.AddAnnotBitmap(bitmap, false, rect);
ResImage rimage = page.AddResImage(docimage); // I changed this line because Page.ResImage is not working
//res = page.AddContent(pageContent, false);