how to use a "A4"(Format) image as a background for a word document(use entire width for the document).

Hello,

how to use a "A4"(Format) image as a background for a word document(use entire width for the document).

For the first page use image 1, and for all other images use image 2.

How shall I do it ?

Thanks.

2 Replies

MJ Mohanaselvam Jothi Syncfusion Team February 28, 2018 05:54 PM UTC

Hi Peter,

Thank you for contacting Syncfusion support.

In Essential DocIO it is possible to set background image for all pages in the Word document. To achieve your requirement using Essential DocIO, we suggest you to set the background image for the all pages in Word document and set different image in the header of first page with behind the text wrapping style.

For your reference we have prepared a sample application to meet your requirement. In this sample we done the following things:
1. Loads an existing Word document using Essential DocIO.
2. Sets background image for all pages using Picture property of Background.
3. Enables DifferentFirstPage property to set different header for first page.
4. Inserts different image in the header of first section.
5. Sets behind TextWrappingStyle and sets position for the image.
6. Saves the Word document.
Please find the sample from the below link:
http://www.syncfusion.com/downloads/support/directtrac/136141/ze/DocIOApplication-1785555784.zip


Please let us know if you have any other questions.

Regards,
Mohanaselvam J
 



PE Peter March 1, 2018 03:46 PM UTC

thanks :)

Loader.
Up arrow icon