Convert CAD files With Total CAD ConverterX and Ruby

Please, download and install Total CAD ConverterX. Using the sample code below you will be able to convert XLS to PDF, DOC, TXT, etc.


  Example Ruby:

require 'win32ole'
c ='CADConverter.CADConverterX')


c.convert(src,dest, "-c PDF -log c:\\test\\CAD.log");

if not File.exist?(dest)
  puts c.ErrorMessage

If you need examples on other languages please contact us. We will create any example specially for you.

Related topics