Linearized PDF

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v10)  /  Linearized PDF

DynamicPDF CoreSuite for .NET (v10) Forum

 Nov 24 2020 9:16 PM
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
 Nov 25 2020 10:05 AM
Posted by a ceTe Software moderator
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

All times are US Eastern Standard time. The time now is 9:21 AM.