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

How can change setting [Open to page]?

Enthusiast ,
Dec 18, 2018 Dec 18, 2018

Copy link to clipboard

Copied

My PDF will display page 2 after open file

I want display page 1 after open file.

I want process by Script or COM.

TOPICS
Acrobat SDK and JavaScript

Views

219

Likes

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 ,
Dec 18, 2018 Dec 18, 2018

Copy link to clipboard

Copied

Using a script you can't change the default Initial View options, but you can override them by embedding this code as a doc-level script:

this.pageNum = 0;

Likes

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
Enthusiast ,
Dec 26, 2018 Dec 26, 2018

Copy link to clipboard

Copied

In document: viewState can Read/Write.

Likes

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
LEGEND ,
Dec 26, 2018 Dec 26, 2018

Copy link to clipboard

Copied

LATEST

Yes, viewState is read-write and does not affect open options. Please see earlier reply.

Likes

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