Previous | Next | (P-PDF) Acrobat 6.0
Topic: Setting a PDF file's open option using IAC
Conf: (P-PDF) Acrobat 6.0, Msg: 142467
From: iqbalbzu
Date: 11/9/2005 02:11 AM
Hi All,
I want to set a PDF file's Open options using IAC application. I want the PDF file to open with Page No: "5", Page Layout: "Single Page" and Magnification: "100%"
My Code is as follows:
CAcroPDDoc TempDoc;
TempDoc.AttachDispatch(m_pAcroAVDoc->GetPDDoc(), TRUE);
TempDoc.SetPageMode(1); //Working fine.
TempDoc.SetOpenInfo(5, 1, "1.0"); //
TempDoc.Save(1,filePath) ;
The problem is actually with the method SetOpenInfo(). I don't see any help about this method and its parameters anywhere, not even in Acrobat SDK. Please correct the SetOpenInfo() method call.
Any help in this regard will be highly appreciated.
Thanks in advance.