Hello Aspose,
We have following simple code to open/initialize PDF document using Aspose.Pdf.Document constructor with a stream for PDF document.
this.pdf = string.IsNullOrEmpty(password) ? new Aspose.Pdf.Document(file…...you can edit the content and replace everything that is confidential...