Did anybody already work showing files PDF in OpenDCL?
I did a small test and was able to use the ActiveX control to add the Adobe PDF reader & view a file, but that's all I did.
I need to do the same.
Can you post an example?
Thanks
Hi BazzaCAD
Do you can me to show as doing this?
Thanks
Hi, velasquez,
try the attached sample:
(defun c:pdf ()
(command "opendcl")
(dcl_project_load "pdf")
(dcl_form_show pdf_pdf)
(dcl_AxControl_Put pdf_pdf_PDF1 "src" "d:\\tut_flora_07.pdf")
(dcl_AxControl_Invoke pdf_pdf_PDF1 "setZoom" 200.0)
(princ)
); pdf
@Owen: I get an error but I cannot narrow down the reason - if it is a problem of mine or a general one.
Fred
I was going to throw one together, but it looks like Fred beat me to it again.
I get the unhandled exception error also...
Thank you Fred,
I will work with this to see how it works.
This cleared my ideas.
Quote from: Fred Tomke on October 21, 2009, 10:09:47 AM
@Owen: I get an error but I cannot narrow down the reason - if it is a problem of mine or a general one.
It was a bug, now fixed for Alpha 10.
Great.
Excellent the work.