Free Support Forum - aspose.com

Can Aspose.PDF driver create color PDFs?

When we save to a PDF after removing metadata from a Word document, is there a command we can issue to obtain a color PDF instead of b&w?

This is basically what the code does in a condensed version:

public void ClearAuthorAndTitleFromPdf(string path)
{
var pdf = new Aspose.Pdf.Document();
var pdfInfo = new Aspose.Pdf.DocumentInfo(pdf);
pdfInfo.Author = string.Empty;
pdfInfo.Title = string.Empty;
pdf.Save();
}

Thanks,
Kriesten Theologus
BigHand Scrub Specialist

@KTechnogal

Thank you for contacting support.

Would you please share source and generated files along with expected output file so that we may try to reproduce and investigate it in our environment. Before sharing requested data, please ensure using Aspose.PDF for .NET 18.10 in your environment.