If you are in the digital marketing business, do email marketing, or have some publishing agency, you must be aware of Microsoft Publisher. It lets you create design layouts that contain information including text, raster and vector graphics. These can be used to create newsletters, flyers, brochures, postcards, and email content.
Publisher file formats include file types such as PUB file format that is saved to a disc when a user creates a project in Microsoft Publisher and saves it to disc.
With GroupDocs.Conversion you can easily convert your Publisher file into another file format. For example, the Publisher to PDF conversion code snippet looks like this:
importcom.groupdocs.conversion.Converter;importcom.groupdocs.conversion.options.convert.PdfConvertOptions;...// Load the source Publisher file
Converterconverter=newConverter("sample.pub");// Set the convert options for PDF format
PdfConvertOptionsoptions=newPdfConvertOptions();// Convert to PDF format
converter.convert("converted.pdf",options);
Put it simply - you just load a Publisher file into the Converter class instance, select the desired output format and GroupDocs.Conversion does all the rest.
Note
Refer to the API reference for more conversion options and customizations.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.