Convert Document to Different File Formats (RUBY SDK)

Skip to end of metadata
Go to start of metadata
This example allows you to convert documents to different file formats using Saaspose Words RUBY SDK.
app_sid = "77*********************"
app_key = "89************", app_key)
$OutPutLocation = "C:\\";


outputFormat = "pdf"

# Creating the object of WordConverter Class 
wordconverter_object ="Sample.docx")

puts wordconverter_object.convert(outputFormat)

p 'File converted'
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.