New Forum | Previous | Next | (P-PDF) Developers
Topic: Unable to save PDF file....
Conf: (P-PDF) Developers, Msg: 59569
Date: 5/29/2002 05:39 PM
What i am trying to achieve is to save a PDF file,below is the code fragment
i am using.
But when i execute this code all goes well,the file save dialog comes and
then when i do the save i get the error message "There was a problem reading
The same is the effect even if i use the API AVDocDoSaveAs.
But the save works with no error when i use PDDocSave.
I have been trying to figure out the problem but in vain.
fRect.left = Int32ToFixed(0);
fRect.top = Int32ToFixed(692);
fRect.right = Int32ToFixed(712);
fRect.bottom = Int32ToFixed(0);
pdDoc = PDDocCreate();
pdPage = PDDocCreatePage(pdDoc,PDBeforeFirstPage,fRect);
avDoc = AVDocOpenFromPDDoc(pdDoc,"Sample");
Thanx in Advance,
Integrated Computing Environments Ltd,
Tel : (O) +91-484-422567
Sent through GMX FreeMail - http://www.gmx.net