ReferenceDoclet_withSingleCell.zip (22 Bytes)
I Insert textbox to table cell,when I save to docx the textbox position is correct,but I save PDF the textbox position is incorrect.to see attachment file.
ReferenceDoclet_withSingleCell.zip (22 Bytes)
I Insert textbox to table cell,when I save to docx the textbox position is correct,but I save PDF the textbox position is incorrect.to see attachment file.
Thanks for your inquiry. Unfortunately, the shared ZIP file does not has any document. Please ZIP and attach your input Word document here for testing. We will investigate the issue on our side and provide you more information.
Thanks for your inquiry. You have shared the screenshots of input and problematic output. Please share the input Word document for testing. Thanks for your cooperation.
Thanks for sharing the document. We have tested the scenario using latest version of Aspose.Words for .NET 18.6 and have not found the shared issue. Please use Aspose.Words for .NET 18.6. We have attached the output PDF with this post for your kind reference. 18.6.pdf (99.3 KB)
.
I use the latest aspose version 18.6 but the problem still exists
It is okay for me to save as doxc
I save it as a PDF,It’s not what I want.
Page footer display is not normal
SaveFormat sf = SaveFormat.Pdf;
switch (ExtName)
{
case "PDF":
sf = SaveFormat.Pdf;
break;
case "DOCX":
sf = SaveFormat.Docx;
break;
default:
sf = SaveFormat.Pdf;
break;
}
builder.Document.Save( “D:\output.” + ExtName, sf);
Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:
As soon as you get these pieces of information ready, we’ll start investigation into your issue and provide you more information. Thanks for your cooperation.
PS: To attach these resources, please zip and upload them.
Thanks for your help,The promble is OK!
I add builder.Writeln("") before builder.InsertNode(textbox);
builder.Writeln("");
builder.InsertNode(textbox);
It is great you were able to find what you were looking for. Please let us know any time you have any further queries.