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

CAcroApp with Reader

New Here ,
Jan 15, 2019 Jan 15, 2019

Copy link to clipboard

Copied

Hi,

according to the sdk documentation, the class CAcroApp can be used to control the application via COM.

However, any function call seems to have zero effect.

I put these lines into the BasicIacVc example provided with the sdk

    acroApp = new CAcroApp;

    acroApp->CreateDispatch("AcroExch.App", &e);

    if (!acroApp) {

        AfxMessageBox("Creating Acrobat IAC acroApp failed in BasicIacVc sample.");

        return FALSE;

    }

    acroApp->Exit();

Could you give me some advice?

My goal is to the get the current preferences like the Page Display mode.

Thanks

TOPICS
Acrobat SDK and JavaScript

Views

1.7K

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

LEGEND , Jan 16, 2019 Jan 16, 2019

Certain DDE methods work. The documentation says which. Nothing to do what you want. The job of the Acrobat SDK is essentially to sell Acrobat.

Votes

Translate

Translate
Adobe Employee ,
Jan 15, 2019 Jan 15, 2019

Copy link to clipboard

Copied

COM and the AcroExch.app are only for Acrobat Pro – not Reader.

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
New Here ,
Jan 16, 2019 Jan 16, 2019

Copy link to clipboard

Copied

Thanks for the reply. However, in the documentation it´s written

IAC support allows programs to control Acrobat or Acrobat Reader in much the same way a user would. You can also use IAC support to render a PDF file into an external application window instead of the Acrobat window. The IAC methods and events serve as wrappers for some of the core API calls in the SDK.

So, is there a subset of IAC that can be used with Reader? Or is there any another way to get the current user preference in a programmatically way?

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
LEGEND ,
Jan 16, 2019 Jan 16, 2019

Copy link to clipboard

Copied

LATEST

Certain DDE methods work. The documentation says which. Nothing to do what you want. The job of the Acrobat SDK is essentially to sell Acrobat.

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