property List.CopyTo (File as String) as Variant
Exports the control's view to an EMF file.

TypeDescription
File as String A String expression that indicates the name of the file being saved ( EMF file ). If present, the CopyTo property retrieves True, if the operation succeeded, else False it is failed. If the File parameter is missing or empty, the CopyTo property retrieves an one dimension safe array of bytes that contains the EMF content.
Variant A boolean expression that indicates whether the File was successful saved, or a one dimension safe array of bytes, if the File parameter is empty string.
The CopyTo method copies the control's view to EMF files. Use the Copy method to copy the control's content to the clipboard. The Enhanced Metafile format is a 32-bit format that can contain both vector information and bitmap information. You can use the Export method to export the control's DATA in CSV format.

This format is an improvement over the Windows Metafile Format and contains extended features, such as the following

• Built-in scaling information 
• Built-in descriptions that are saved with the file 
• Improvements in color palettes and device independence 

The EMF format is an extensible format, which means that a programmer can modify the original specification to add functionality or to meet specific needs. You can paste this format to Microsoft Word, Excel, Front Page, Microsoft Image Composer and any application that know to handle EMF formats. 

The following VB sample saves the control's content to a file:

If (List1.CopyTo("c:\temp\test.emf")) Then
    MsgBox "test.emf file created, open it using the mspaint editor."
End If

The following VB sample prints the EMF content ( as bytes, File parameter is empty string ):

Dim i As Variant
For Each i In List1.CopyTo("")
    Debug.Print i
Next