Hi Radaeepdf team,
I am using following code for draw text at pdf . I modified the code as suggested in
method of OnPDFBlankTapped but when i try to add the text at tap location . text is not added at there its vary from tap location. one more point how can i add the underline style in text please help
PageContent content = new PageContent();
content.Create();//create content, do not forget.
Matrix mat = new Matrix( 1, 1, X, Y);
Page page = doc.GetPage(currentpage_num);
Document.DocFont dfont = doc.NewFontCID("Roboto-Regular", 1);//bold and embed in horizontal writing
ResFont rfont = page.AddResFont(dfont);
content.TextSetFont(rfont, p2);//set font and size
what does page.AddContent(content, true); return?
If it returns true I think you have some problems with the position so with the matrix..
If it returns false there are some problems with the others parameters you are using.
Remember that to use these methods you need a premium license..