I am trying to reload and then linearize existing pdf file by Aspose.Pdf.Pdf object.
First, load pdf file by constructor Pdf(Stream) from filestream;
Then set Linearized to true;
Finally Close Pdf.Pdf object.
Keep getting error saying "The number of pages less than 3 , document can not to be linearized !".
Is there any solution for this? Or it's not doable at all?
Added: the existing file is created by Aspose.Pdf.Kit, I just wanna linearize it.