Hi, I successfully use the draw text method por a single but when the text has two or more lines draw the text on the same line how can I do this?.
this is my code
Document.DocFont docFont = m_doc.NewFontCID("Roboto-Regular", 8);//embed font to PDF file
Page page = m_doc.GetPage(0);
page.ObjsStart();
ResFont resFont = page.AddResFont(docFont);
PageContent content = new PageContent();
content.Create();
content.TextBegin();
content.TextSetFont(resFont, 15);
content.SetFillColor(Color.BLACK);
content.TextSetRenderMode(0); // fill
content.TextMove(50, 700);
content.DrawText(largeText);
content.TextEnd();
page.AddContent(content, false);
PDFVPage vpage = m_reader.getLayout().vGetPage(0);
m_reader.getLayout().vRenderSync(vpage);
content.Destroy();
page.Close();