Mon Jan 13, 2020 12:01 pm
Hi, thanks a lot for your feedback.
Unfortunately I am facing an issue.
By using ""E:/DataSources/Paschmann/RTF_Export/RTF/" + @"test.rtf" as Source Path, I am getting the message: Inputstring has the wrong format. By using "test.doc" I am getting no issue.
Is it needed to set an reference in addition to the existing below: ?
---------------------
using Spire.Doc;
using Spire.Doc.Documents;
--------------------
Please see code below:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Spire.Doc;
using Spire.Doc.Documents;
namespace WindowsFormsApplication2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Document document = new Document("E:/DataSources/Paschmann/RTF_Export/RTF/" + @"test.rtf");
//document.SaveToFile("20195.docx", FileFormat.Docx);
}
}
}