Hi team,
I have 3 documents and i am merging them using aspose.
Second document has page background set to yellow colour and the other 2 documents have white background. When i merger whole documents background is in white colour.
But I want to retain the second document background to be yellow. Is this possible??
Thanks,
Shweta
Hi Shweta,
Thanks for your inquiry.
While using the latest version of Aspose.Words i.e. 11.3.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system as WORDSNET-6306. Your request has also been linked to this issue and you will be notified as soon as it is resolved.
Sorry for the inconvenience.
Best Regards,
Hi Shweta,
It is to update you that during analyzing your issue, we have found that page color is set per document so it is impossible to set page color per section and when you concatenate few documents, page color of the first document will be used. Moreover, you will observe the same when copy/paste one document into another in MS Word. There is no problem in Aspose.Words and we’ve closed this issue.
Please let me know if I can be of any further assistance.
Best Regards,
Hi there,
Thanks for your inquiry.
I’m afraid this is not actually a bug. In a Microsoft Word document a background page color is document-wide. You can access the page color in the Aspose.Words API through the use of the Document.PageColor property.
When you append documents only the sections are copied to the destination document. The page color remains the same as in the source document and is applied document wide to the new content.
You could look into manually adding a page background, for instance by creating a large filled shape in the header which takes up the entire pge. This will be applied to all pages in the section and since it’s apart of the section it will be retained when appending documents. Please let us know if you need any more information about this.
Thanks,
Ok thank you Adam.
The issues you have found earlier (filed as WORDSNET-6306) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.