How to rotate the page when converting RTF to EMF?

EMF or Windows Metafile is a graphics file format on Microsoft Windows systems. It was originally designed to be a portable format between applications and may contain both vector graphics and bitmap components. It is a Windows vector graphics format which can be recognized by many image-editing applications. RTF or Rich Text Format is a file format that can store information including text style, size, and color. RTF format is a universal format, which can be read by nearly all word processors.

If you need to rotate the page when converting RTF to EMF, you can try VeryPDF HTML Converter Command Line. It can also be used to convert RTF to other formats including PS (Postscript), JPG, PNM, PCX, JP2, TIF, etc. No matter how many documents you do have, VeryPDF HTML Converter Command Line allows you to take only three steps to convert the file or files via command line. Besides, if you want to rotate the page, add watermarks, adjust margin, scale the page, etc. when convert document, you just need to add a command in the command line. To download this software application, please click VeryPDF HTML Converter Command Line; to buy the full version, please click Purchase.

After you install this software application in the computer, please go on reading and follow the steps below to rotate the page and convert RTF to EMF via command line.

Step 1: Open the command prompt window

It will only require four steps to open the command prompt window: Click “Start” in the lower left corner of the screen; > then, click “Run” on the menu to open the “Run” dialog box.> Enter “cmd” in the “Run” dialog box;> and then click “OK” to open the command prompt window.

Open the command prompt window

the command prompt window

Step 2: Type a command line

In a word, the command line you are going to type should consist of the command for rotating the page and the directories of three files including the executable file, the input file and the output file.

htmltools -rotate <int> <RTF file> <EMF file>

Look at the following example, this command line includes the command and the three files which are represented by the directories.

D:\htmltools\htmltools.exe -rotate 90 C:\in\*.rtf D:\out\*.emf

  • D:\htmltools\htmltools.exe ---- the directory of the executable file. In the example, it stands for the executable file htmltools.exe located in the folder htmltools on disk D.
  • -rotate 90 ---- the command that can be used to rotate the page clockwise through an angle of 90 degree. The number 90 can be substituted by 180 or 270.
  • C:\in\*.rtf ---- the directory of the input files. The wildcard * represents all the input RTF files in the folder in on disk C. The file extension specifies RTF as the input format.
  • D:\out\*.emf---- the directory of output files. This directory indicates that all the result files should be placed in the folder out on disk D. The file extension specifies EMF as the output format.

The above command line can be used to batch convert RTF to EMF. If you want to convert RTF to EMF files in your computer, you can replace all the directories in the example with the directories of the files on your computer. If you want to convert only one file from RTF to EMF, you can replace the wildcard * with the name of that file. You can also change the angle degree 90 to either 180 or 270.

Step 3: Press “Enter”

Press the key “Enter”. Your computer will prompt to convert RTF to EMF. The conversion time will be displayed on the command prompt window. If you want to get more information about how to convert RTF to other files, please read related articles at the knowledge base of VeryPDF. If you are interested in other products, please visit the home page of VeryPDF.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in HTML Converter (htmltools) and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!