Vusala_Zeynalova wrote:Hi,
Document document = new Document();
for (int i = 0; i < wordFiles.Length; i++)
{
string pdfPath = Path.Combine(path, $"{Guid.NewGuid()}merged_document.pdf");
files.Add(pdfPath);
document.LoadFromFile(wordFiles[i]);
document.SaveToFile(pdfPath, FileFormat.PDF);
}
I use Spire.Doc , but I am getting error. My word font is Times New Roman. How can I solve this problem?
Hi,
Thank you for your message.
Are you using our latest version? If not, we recommend to test again with our
latest version of Spire.Doc(12.4.7).
Also, if the error is related to fonts, please make sure that the fonts used in Word document are installed on your system environment.
If it doesn't work, please let us know the specific error you're experiencing and provide a test file for us to test. Thanks in advance for your collaboration.
Sincerely,
Doris
E-iceblue support team