I am having issues converting from RTF to PNG.
I use the basic code as follows :
- Code: Select all
Dim doc As New Document()
doc.LoadRtf("path\name.rtf")
Dim img As Image = doc.SaveToImages(1, ImageType.Bitmap)
img.Save("path\name.png", Imaging.ImageFormat.Png)
Process.Start("path/name.png")
It gives me an image containing most of my data. But then, this kind of problem occurs :

Sorry I had to hide some data because of confidentiality.
As you can see, some text is going through the header, and this text comes from the bottom of the page.
Do you have any idea on why this problem occurs ?
Regards