Hi,
Hi Crazkur,
string filePath = myDir + “test.rtf”;<o:p></o:p>
Aspose.Words.FileFormatInfo info = Aspose.Words.FileFormatUtil.DetectFileFormat(filePath);
Console.WriteLine(info.LoadFormat);
Aspose.Words.LoadOptions loadOptions = new Aspose.Words.LoadOptions();
loadOptions.LoadFormat = Aspose.Words.LoadFormat.Rtf;
Aspose.Words.Document doc = new Aspose.Words.Document(filePath, loadOptions);
doc.Save(myDir + @"17.2.0.html");
Hi,
Converter conv = new Converter();byte[] content = Encoding.Default.GetBytes(rtfField.RtfText);
String htmlText = conv.ConvertRtfToHtml(content);
HtmlFragment html = new HtmlFragment(htmlText);
aspose_page.Paragraphs.Add(html);
Hi Crazkur,
Aspose.Pdf.Document
doc = new Aspose.Pdf.Document();<o:p></o:p>
var page = doc.Pages.Add();
//page.PageInfo.Margin.Left = 0;
//page.PageInfo.Margin.Top = 0;
var floatingBox = new Aspose.Pdf.FloatingBox(200, 250)
{
Left = 0,
Top = 100
};
floatingBox.Paragraphs.Add(new Aspose.Pdf.HtmlFragment(html));
page.Paragraphs.Add(floatingBox);
doc.Save("FloatingBox.pdf");
Hi,

Hi Crazkur,
Hi Crazkur,
Hi,

Hi Crazkur,
The issues you have found earlier (filed as PDFNET-41905) have been fixed in Aspose.Pdf for .NET 17.3.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Hi Crazkur,
Aspose.Pdf.Document
doc = new Aspose.Pdf.Document();<o:p></o:p>
Page page = doc.Pages.Add();
HtmlFragment html = new HtmlFragment("some text");
html.TextState = new TextState();
html.TextState.Font = FontRepository.FindFont("Calibri");
page.Paragraphs.Add(html);
doc.Save(myDir+"test.pdf");