We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Inserting a Backgroundimage for the entire word document, but only for the first page. How ?

Thread ID:





127062 Oct 24,2016 10:05 AM UTC Oct 25,2016 09:14 AM UTC ASP.NET MVC 1
Tags: DocIO
Asked On October 24, 2016 10:05 AM UTC

Inserting a Backgroundimage for the entire word document, but only for the first page. How ?

Ayswarya Krishna Kumar [Syncfusion]
Replied On October 25, 2016 09:14 AM UTC

Hi Customer,

Thank you for contacting Syncfusion support.

We have prepared a sample to meet your requirement, of inserting background image to the first page of the Word document. We have achieved your requirement with the following steps.

(1) Adds new section to the word document.
(2) Enabled DifferentFirstPage boolean flag in order to have different first page header.
(3) Appends the picture to the first page header paragraph.
(4) To make the image filled the entire page, set the height and width of the picture to page height and width respectively
(5) Set the horizontal origin of the picture to page’s left margin and vertical origin of the picture to page’s top margin.

We have attached the sample for your reference. Try running the sample and let us know whether it helps you?

Sample link:



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon