Save PDF as Black and white

I am going to save a word document with images as a PDF.

The document could be color or black and white, and I would like to be able to save a COLOR PDF as completely BLACK and WHITE. Fonts, Images, all objects save as black and white.

Could someone please give me a example on how to do this or if this is possible.

Thanks

Hi Rollie,

Thank you for contacting support. Aspose.Pdf API cannot import Word documents, it can convert PDF documents to DOC/DOCX. Aspose.Words API has a feature to convert the Word documents to PDF format. Your query is about Aspose.Words API and we are moving this thread to Aspose.Words forum. One of my fellow workers will assist you there soon.

Hi Rollie,

Thanks for your inquiry. You can use ColorMode property of PdfSaveOptions class to change color mode of PDF document. Normal color mode is default value of the property. However, you can use Grayscale value for your requirements. Hopefully it will help you to accomplish the task.

PdfSaveOptions options = new PdfSaveOptions();
options.ColorMode = Aspose.Words.Saving.ColorMode.Grayscale;
Document doc = new Document("input.docx"); 
doc.Save("Out_AW176.pdf",options);

Please feel free to contact us for any further assistance.

Best Regards,