If you want to set page size by changing the page width and height when you convert wmf to pdf document, you can use the command line application Metafile to PDF Converter Command Line as your tool for it supports to convert metafile to PDF document with high quality and speed.
Metafile to PDF Converter Command Line is really a practice application which supplies two license—developer license and server license. The developer license can be used by software developers to develop applications and redistribute the command line application in their products. The server license can be used to run on severs.
If you are interested in Metafile to PDF Converter Command Line, please download the free trial version of it for experiencing at https://www.verypdf.com/tif2pdf/image2pdf_emf2pdf_cmd.zip. It is a ZIP file and you just need to unzip it to some location of your computer for further using.
There are three steps to convert wmf to pdf and set page size for the target file and you will see the whole steps in the following contents.
The first step is to open MS-DOS prompt window for you need to input the command line into it. You can use one of the following given ways to open the prompt window. (1) You can click “Start”—“Run” to open “Run” dialog box. Then please input “cmd” or “CMD” in “Open” combo box and click “OK” button. (2) You can also use the hot key “Window”+ “R” to open “Run” dialog box.
The second step is to input the command line into MS-DOS prompt window. The command line includes called program, parameter to set page size, source file and target file. These four parts make up the following command line template:
emf2pdf.exe -width 456 -height 1100 C:\file1.wmf C:\file2.pdf
If you cannot understand the command line template above, you should see the specific example below.
"C:\Program Files\image2pdf_emf2pdf_cmd3.2\emf2pdf.exe" - width 456 -height 1100 "C:\file1.wmf" "D:\file2.pdf"
In which
(1) "C:\Program Files\image2pdf_emf2pdf_cmd3.2\emf2pdf.exe" is the path of the called program—emf2pdf.exe which is the executable file of Metafile to PDF Converter Command Line.
(2) - width 456 -height 1100 is the parameter for setting page size. The width and the height are set as 456 and 1100 pixels respectively.
(3) "C:\file1.wmf" is the path of source file.
(4) "D:\file2.pdf" is the path of target file.
Finally, please click “Enter” button to finish the conversion from wmf to pdf and you will be able to see the target file in specified location. If you want to learn more information about Metafile to PDF Converter Command Line, you can visit its homepage at https://www.verypdf.com/pdfcamp/rtf2pdf.html.