Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface > Command Line Convert To Format

Command Line Convert SVG To Text

Scroll Prev Top Next More

Convert SVG To Text Command Line

 

win2pdfd.exe convertto "sourcefile.svg" "destfile.txt" textformatted

win2pdfd.exe convertto "sourcefile.svg" "destfile.txt" textunformatted

win2pdfd.exe convertto "sourcefile.svg" "destfile.txt" ocrtextformatted

win2pdfd.exe convertto "sourcefile.svg" "destfile.txt" ocrtextunformatted

 

Converts the SVG "sourcefile.svg" to text, and saves the converted text to "destfile.txt". The last parameter controls the text formatting:

textformatted

Text - formatted

textunformatted

Text - unformatted

ocrtextformatted

Text - formatted after making searchable, requires optional Win2PDF OCR Add-on

ocrtextunformatted

Text - unformatted after making searchable, formatted after making searchable, requires optional Win2PDF OCR Add-on

 

Any file names that contain spaces must be enclosed with quotation marks. The "sourcefile" can be a local file path, or an web address (URL) to an existing SVG file.

 

This feature requires a licensed version of Win2PDF. Contact us for a time limited evaluation license.

 

Returns 0 on success, and a Windows system error code on failure.