1

Here I am using iTextSharp to open PDF document and changing some properties such as page layout as guidance from this link How to set initial view properties?

Problem: Input PDF Fast Web View : True but out put PDF Fast Web View : False, but I want Fast Web View must True when input PDF Fast Web View is True.

So

  1. I want to Get/read exist Fast Web View value
  2. In I want to Set/Update new(my) Fast Web View value

In PDF document.

Input PDF Properties: enter image description here

output PDF Properties: enter image description here

Community
  • 1
  • 1

1 Answers1

3

What you are looking for is linearization. See this post directly from iText which basically says iText has no native support for this and they currently don't have any future plans for it. From that page:

Linearization doesn't make any sense for dynamically created files or for files that need to be served to a mobile device. It would be "Slow Web View".

...

Up until now, we've had several users asking for linearized PDFs, but once they fully understood that linearization would slow down the download process rather than make it faster, they decided against it. That's why we never put Linearization on our roadmap. Of course: if somebody wants to sponsor the development: you're always welcome to do so.

Community
  • 1
  • 1
Chris Haas
  • 53,986
  • 12
  • 141
  • 274