Related Information Examples & Tutorials
Membership with Collect! provides value in software upgrades, discount pricing for additional seats, modules and technical service, downloadable extras and full access to all the Member Center resources.
“ When contact is done via email or ticket system, their service level exceeds most companies in Norway. ” Per V.

Enhanced Metafile In Report

An Enhanced MetaFile may be used to store any series of Windows graphical commands. Many companies use these files to store complex forms for fast printing. In addition, many utilities exist to scan hardcopy forms and to convert other commonly available file types, such as Adobe's Portable Document Format(PDF), into EMF format.

The @Emf command places an *.emf image into your report at the position you specify.

SYNTAX: @Emf(filename, left, top, width, height)

Filename: This is either the name or, alternately, the full path of the Windows Enhanced MetaFile you want to use. If the name alone is specified, Collect! will attempt to load the file from the Collect! application folder, that is the folder where the Collect! program's *.exe file is found.

For example, the CV11.exe is in the bin folder, for example, C:\CV11\bin, so your *.emf would be in the same folder, that is, C:\CV11\bin\myform.emf.

If a full path is specified, Collect! will load from that path.

Left: The position of the left side of the image in 1/100ths of an inch. The value is measured from the left side of the page.

Top: The position of the top of the image in 1/100ths of an inch. The value is measured from the top of the page.

Width: The width of the image in 1/100ths of an inch. If this value is -1 then the default width is used.

Height: The height of the image in 1/100ths of an inch. If this value is -1 then the default width is used.

DC Printing Examples:

EMF files in Collect!'s application folder

When your enhanced metafile is in the same folder as the Collect! program executable as described above, just put the name of your *.emf file in the @Emf tag as shown below.


EMF files in an EMF folder

You could define a path to your image in the EMF tag. For instance, if you have multiple scanned forms, it might be handy to have a folder for *.emf files in the Collect! application root folder, for example, C:\CV11\bin\images\emf. Then when you reference the form, you can do it like so.


This way, if anyone else is looking for the forms or needs to modify them, the chance of any critical files being deleted or moved accidentally is greatly reduced. Remember that a path may no longer be valid if the *.emf file gets moved. Then it would not appear in your reports anymore.

Full Page EMF file


This would display the file mydataform.emf across the entire page, assuming standard letter sized paper. Negative values are used for the top and left to compensate for the Windows printer device default margins. Depending on how your margins are set, you may need to make adjustments to image positions if you are printing across the entire page.

See Also

- Report Sample to view sample reports and letters
- Report Topics Index for a list of all report and letter topics

Top of page.

Was this page helpful? Do you have any comments on this document? Can we make it better? If so how may we improve this page.

Please click this link to send us your comments:

Collection Advisor RMA ACA Member