Hello and thank you for an excellent product!
We have a problem in our solution that we are having problems solving. We are creating a document using a rtf-text stream which is the template layout for the document that we access as rtf-format string from the database.
The problem is that the logotype image in the header hides the text of the header, instead of pushing the text to the right of the image; in other words, the text is "blind" to the image, and in consequence becomes hidden underneath the logotype, whereas before the text would be pushed to the right of the image.
How can we tell our Document that we want the image to be considered an area in the header, and not a background, so that it forces text next to it to adjust towards the right?
I really appreciate your time, and hope you can help us since we are at a loss as to what to do, since the text that disappears underneath the image logotype is crucial to the document.
This is how we load the template into the Document
if (template.Journaltemplate.LayoutRtf != null && template.Journaltemplate.LayoutRtf.Length > 0)
byte rtfBytesTemplate = Encoding.UTF8.GetBytes(template.Journaltemplate.LayoutRtf);
MemoryStream rtfStreamTemplate = new MemoryStream(rtfBytesTemplate);
LoadOptions loTemplate = new LoadOptions();
loTemplate.LoadFormat = LoadFormat.Rtf;
doc = new Document(rtfStreamTemplate, loTemplate);