
win2pdfd.exe convertto "sourcefile.msg" "destfile.png" png
win2pdfd.exe convertto "sourcefile.msg" "destfile.png" pnggray
win2pdfd.exe convertto "sourcefile.msg" "destfile.png" pngtransparent
win2pdfd.exe convertto "sourcefile.msg" "destfile.png" pnggraytransparent
Convert the Microsoft Outlook item file format MSG file specified by "sourcefile.msg" to a PNG image, and saves the converted image to "destfile.png". The last parameter controls the PNG format:
pnggray |
PNG - Grayscale |
png |
PNG - Color |
pnggraytransparent |
PNG - Grayscale with transparent background |
pngtransparent |
PNG - Color with transparent background |
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 DOC file.
This feature requires a licensed version of Win2PDF Pro. Contact us for a time limited evaluation license.
Returns 0 on success, and a Windows system error code on failure.