As we use New aspose.word.document(fileName as string) for loading word file in aspose.word.document, how to load pdf file in new aspose.pdf.pdf. there are 2 constructors for aspose.pdf.pdf i.e. new() and new(docStream as System.IO.FileStream)
You can not load an existing PDF into Aspose.Pdf. The constructor is for specifying the output stream. For modifying existing pdf file please use Aspose.Pdf.Kit.