• 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 enable/disable "Use for Reading Order in Tagged PDF" using Script?

Advocate ,
Jun 02, 2021 Jun 02, 2021

Copy link to clipboard

Copied

Hi everybody,

Today I am stuck with this check box to be enable/disable. I tried searching but could not find.

ArticleEnable.png

Please guide me on this, how to check/uncheck the box in article "Use for Reading Order in Tagged PDF".

 

Thanks

Sunil Yadav

TOPICS
Scripting

Views

282

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

Community Expert , Jun 02, 2021 Jun 02, 2021

Hi @Sunil Yadav,

To enable it, try the following

app.documents[0].taggedPDFPreferences.structureOrder = TaggedPDFStructureOrderOptions.USE_ARTICLES

To disable it try the following

app.documents[0].taggedPDFPreferences.structureOrder = TaggedPDFStructureOrderOptions.USE_XML_STRUCTURE

 Hopefully, it should work

-Manan

Votes

Translate

Translate
Community Expert ,
Jun 02, 2021 Jun 02, 2021

Copy link to clipboard

Copied

Hi @Sunil Yadav,

To enable it, try the following

app.documents[0].taggedPDFPreferences.structureOrder = TaggedPDFStructureOrderOptions.USE_ARTICLES

To disable it try the following

app.documents[0].taggedPDFPreferences.structureOrder = TaggedPDFStructureOrderOptions.USE_XML_STRUCTURE

 Hopefully, it should work

-Manan

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
Advocate ,
Jun 02, 2021 Jun 02, 2021

Copy link to clipboard

Copied

LATEST

Thanks @Manan Joshi  for the real quick reply.

I was making a really small mistake for this.

I was trying to do it for Application, that is the reason may be I was not getting that.

app.taggedPDFPreferences.structureOrder = TaggedPDFStructureOrderOptions.USE_ARTICLES;

Thanks for clearifying my concern.

 

Sunil

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