Is there a way to retrieve both the current page number and the Y-position of the newly inserted TextFragment? E.g. :
var hh = new TextFragment(headerText);page.Paragraphs.Add(hh);doc.ProcessParagraphs();int page = doc.Pages.Count; // This seems to work.int pgn = hh.Page.Number; // This has Page=nullvar y = hh.Position.YIndent; // Now working.
Perhaps I want too much and this is not possible.
Is that the case?
Or I need to save the document and reload it?