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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is it possible to perform Word document to Pdf conversion using DocIO in Windows Service?

Platform: WinForms |
Control: DocIO

What is the usage of Windows Service?
Windows services are normally used when an application needs to continuously run. A Windows Service will run even if no-one is logged on. Windows service can start running as soon as the machine is powered up, which makes ideal for running as a server, http server for example. No one is required to login.

Windows services has the following features.

  • Don’t need to have a session running. This is good for security, and also reduces overhead on the server.
  • We shall make use of some management commands like Start, Stop, Pause and Continue.
  • We shall also handle server events such as shutdown.

Please refer the below MSDN link to know about how to create a Windows service application.

MSDN link:

Is it possible to perform Word document to Pdf conversion using DocIO in Windows Service?
Yes, it is possible to convert a Word document as Pdf using Windows service.

We have prepared a sample to illustrate how to perform Word document to Pdf conversion using Windows Service. In this we have created a static method with the below code for Pdf conversion and called this in OnStart event.



Please refer the below sample which demonstrates Word to Pdf conversion using Windows service.

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile