Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Does Document APIs support linearized PDF?

Community Beginner ,
Feb 15, 2021 Feb 15, 2021

I want to know whether Document APIs support to show linearized PDF on Web page ? If yes, how can I use it ?

673
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 04, 2021 May 04, 2021

Update: PDF Embed API now supports linearized PDF. See documentation here.

Translate
Community Expert ,
Feb 15, 2021 Feb 15, 2021

Are you referring to Adobe Embed API? And what do you mean by support? Do you mean simply display linearized PDF or actually do a page at a time download?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 15, 2021 Feb 15, 2021

Yes I am talking about Embed API. I mean displaying linearized PDF on web page. Currently I need to download full PDF before display first page of PDF. Can I display first page of PDF and continue to download other page so that we have other page of PDF till user read first page.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 17, 2021 Feb 17, 2021

At this time, Embed API does not support byte streaming which is what you'd need to do page at a time download.

The full PDF needs to be downloaded. However, I have a CodePen here that shows how to postpone the display of the viewer until the first page is rendered. That way, you can have your own loading screen and the viewer isn't sitting there looking like nothing is happening.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 04, 2021 May 04, 2021
LATEST

Update: PDF Embed API now supports linearized PDF. See documentation here.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources