Hi i try to make a RTF but the accent mark or "ñ" character is not show good but in PDF yes.
Code:
Dim rtfRenderer As MigraDoc.RtfRendering.RtfDocumentRenderer = New MigraDoc.RtfRendering.RtfDocumentRenderer()
Dim myRenderer As PdfDocumentRenderer = New PdfDocumentRenderer(True) With {
.Document = myDoc
}
myRenderer.RenderDocument()
Dim options As XPdfFontOptions = New PdfSharp.Drawing.XPdfFontOptions(PdfFontEncoding.Unicode)
'web/temp path
myRenderer.PdfDocument.Save(Path.Combine(offerValues.webPath, String.Format("{0}{1}", offerValues.idProject, ".pdf")))
rtfRenderer.Render(myDoc.Clone(), offerValues.idProject + ".rft", offerValues.webPath)
End Sub
Im not sure where is the problem.