Linearized PDF

Linearized PDF

Forum member · Nov 24, 2020
Hi Team, I am trying to generate Linearized pdf. (Fast Web View -> Yes). And the followings are the code which I am using for the same. But I am still getting "Fast Web View" as "No". string fileName = @"c:\temp\FastWebView.pdf"; Document document = new Document(); //Document.DefaultPdfFormat = PdfFormat.Linearized; ceTe.DynamicPDF.Page page = new ceTe.DynamicPDF.Page(); page.Elements.Add(new ceTe.DynamicPDF.PageElements.Label("Fast Web View. ", 0, 0, 600, 12, ceTe.DynamicPDF.Font.Helvetica, 12)); document.Pages.Add(page); document.PdfFormat = PdfFormat.Linearized; document.Draw(fileName); Can you please help me in fixing this issue? And is it because of I am using trial version for DynamicPdf. Regards, Chinmaya

Re: Linearized PDF

Support · Nov 25, 2020
Hi Chinmaya, What version are you using? I tested your code with the latest version and it shows as "Fast Web View: Yes" in Acrobat. Thanks, ceTe Software Support Team