Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Jun 27, 2019 4:27 pm

Hello i'm trying to create a few textboxes in a word document, then i try to convert the word document into pdf file but de text boxes are transposed. im using the TextWrappingStyle property. The source File is an empty word document

Thanks in advance

This is my code
Code: Select all

        static void Main(string[] args)
        {
            Document document = new Document();
            document.LoadFromFile(@"Textbox.docx");

            CreateTextBox(ref document);
            CreateTextBox(ref document);
            CreateTextBox(ref document);
            CreateTextBox(ref document);
            CreateTextBox(ref document);

            document.SaveToFile(@"Textbox_output.docx", FileFormat.Docx);
            document.SaveToFile(@"Textbox_output.pdf", FileFormat.PDF);
        }

        private static void CreateTextBox(ref Document document)
        {
            Paragraph parrafoTextBox = document.Sections[0].AddParagraph();           
            TextBox ficha = parrafoTextBox.AppendTextBox(400, 200);
            ficha.Format.TextWrappingStyle = TextWrappingStyle.Inline;
        }

psanchezhogares
 
Posts: 3
Joined: Tue Jun 18, 2019 1:41 am

Fri Jun 28, 2019 5:37 am

Hello,

Thank you for contacting.
I have noticed the issue and posted it to our Dev team for further investigating and fixing. If there is any progress, we will let you know. Sorry for the inconvenience caused.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Wed Jul 17, 2019 7:34 pm

Lisa.Li wrote:Hello,

Thank you for contacting.
I have noticed the issue and posted it to our Dev team for further investigating and fixing. If there is any progress, we will let you know. Sorry for the inconvenience caused.

Sincerely,
Lisa
E-iceblue support team



Hello, do you have any idea about this??

psanchezhogares
 
Posts: 3
Joined: Tue Jun 18, 2019 1:41 am

Thu Jul 18, 2019 1:30 am

Hello,

Thank you for following up.
I got the news from our Dev team that your issue has been resolved and it is in the testing phase now. Once the tests pass, we will prepare a hotfix for you ASAP. Thanks for your patience.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Fri Jul 19, 2019 10:44 am

Hello,

Glad to inform you that the reported issue has been fixed in Spire.Doc Pack Version:7.7. Welcome to download and test it.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.PDF