Getproperty doesn't work

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

jpurushothaman
User
Posts: 2
Joined: Wed Dec 12, 2012 2:50 pm

Getproperty doesn't work

Post by jpurushothaman »

Dear All,

We are trying to integrate PDF-Xchange Viewer into our SAP solution through the ActiveX / OLE interface. We have installed the “PDF-Xchange PDF Viewer SDK” to load the pdf file and we are successful in calling several functions through ABAP (SAP language).

We are trying to the get the pagecount of the pdf using the getproperty method. But, this doesn’t work.

Eg: call method get_property
EXPORTING
property = 'Pages.Count'
IMPORTING
value = pagecount

But setproperty seems to work.

Any idea?

Thanks for your help in advance,
Jay
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19868
Joined: Mon Jan 12, 2009 8:07 am

Re: Getproperty doesn't work

Post by Stefan - PDF-XChange »

Hi Jay,

have you also tried the

Code: Select all

HRESULT GetProperty(
  BSTR Name,
  VARIANT* DataOut,
  LONG Flags
);
method?

Best,
Stefan