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

How to separate pages in IN_LINE mode

New Here ,
Sep 23, 2024 Sep 23, 2024

Copy link to clipboard

Copied

I use adobe pdf embed api viewer in IN_LINE mode and cannot separate pages with css. For some reason the selectors I use do not update the document. But when I use the same css selectors in the browser's inspector the pages are separated. I also have to mention that the document is generated with the below js script

function displayDocument(fileName, clientId, arrayBuffer, embedMode) {
	var adobeDCView = new AdobeDC.View({clientId: clientId, divId: "adobe-dc-view-id"});
	adobeDCView.previewFile({
		content:{promise: Promise.resolve(arrayBuffer)},
		metaData:{fileName: fileName}
	}, {embedMode: embedMode});
}

 
where the content is an arrayBuffer 

Can you suggest a way to separate pages with IN_LINE mode?

TOPICS
How to , PDF Embed API

Views

113

Translate

Translate

Report

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

Adobe Employee , Sep 23, 2024 Sep 23, 2024

There is no official support for using CSS to modify how pages look in Embed.

Votes

Translate

Translate
Adobe Employee ,
Sep 23, 2024 Sep 23, 2024

Copy link to clipboard

Copied

There is no official support for using CSS to modify how pages look in Embed.

Votes

Translate

Translate

Report

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 ,
Sep 23, 2024 Sep 23, 2024

Copy link to clipboard

Copied

LATEST

Any CSS that you add won't be used inside the Embed iframe. That's just standard iframe behavior. 

Votes

Translate

Translate

Report

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