I have a document .doc that contains one textbox with vertical alignment. But when converted to .pdf, the textbox assumes the horizontal alignment.
This is how i'm converting the file:
- Code: Select all
Document doc = new Document("C:\...\file.doc");
doc.SaveToFile("C:\...\file.pdf", FileFormat.PDF);
doc.Dispose();
I'm using Spire.doc 5.2.48.3041 and Spire.Pdf 3.1.54.3041.
When i save the file to .docx extension, it works fine. Only when i have the document with .doc extension i get this problem.
Thanks!