Is Anyone using the XPDFViewer?
Matthias Rebbe
matthias_livecode_150811 at m-r-d.de
Fri May 3 13:39:58 EDT 2019
Hi,
i am using the following script to open a selected PDF file in the xpdf viewer, but i am not successful.
answer file "PDF..."
if it is empty then exit top
put it into tFilename
XPDFViewer_Open "pdfviewer", the windowID of this stack
XPDFViewer_Set "pdfviewer", "filename",tFilename
XPDFViewer_Set "pdfviewer", "rect", (100,100,500,500)
XPDFViewer_Set "pdfviewer", "visible", TRUE
put xpdfviewer_Get("pdfviewer","rect")
The PDF viewer does not show up and the function pxdfviewer_get gives 0,0,0,0 back for the rect.
Is there something wrong with my script?
Or does anyone have working sample stack?
Regards,
Matthias Rebbe
More information about the use-livecode
mailing list