Chapter 3. Working with files
After drawing your molecule, you'll want to use it in another document, print it or save it for later use. Of course you can also open or import existing molecules.
Open a file
You can open a file by selecting the option "Open..." in the file menu or by using the toolbar. The program supports or formats supported by the Open Babel library. This includes popular formats like MOL, SMILES and CML.
Saving a document
You can save your document by selecting "Save" from the file menu or by using the toolbar. The program supports or formats supported by the Open Babel library. This includes popular formats like MOL, SMILES and CML. WARNING: molsKetch doesn't support extra information included in some file formats. If you resave an existing file, it is possible you'll loose this data.
Import a molecule
If you want to add an existing molecule to your document, you can import it. You can also use this to combine molecules from multiple sources. Use "Import" from the file menu or use the toolbar to achieve this.
To use your molecule for other purposes, you can export it as an image.
Saving your document as a bitmap
You can export your document as a bitmap by using "Export" from the file menu. molsKetch can export your document in a number of formats, like PNG and JPEG. By default, all molecules in your document will be exported to a single bitmap.
Saving your document as a vector illustration
Another option for exporting your document as a image is using a vector format. The advantage of this format is that you won't loose any detail when scaling the picture. Currently, only the Scalable Vector Graphics format is supported. To export as a SVG file, click on "Export" in the file menu. Next enter a name for the file and add the extension .svg.
You can also print the document or export the document as PDF file.
Printing a document
You can print the document by selecting "Print" in the file menu. By default, all molecules in the document will scaled to fit on one page.
Exporting a document as PDF
To export the document as Portable Document Format (PDF) file, select "Print" from the file menu. Next select "Print to file" and enter a name for the PDF file. By default, all molecules in the document will scaled to fit on one page.