Click or drag to resize

IMcDyesImportFromFiles Method

Adds dyes from the files in the specified folder.

Namespace:  MediaCy.IQL.Microscopy.Info
Assembly:  MediaCy.IQL.Microscopy.Info (in MediaCy.IQL.Microscopy.Info.dll) Version: 10.0.6912.0
Syntax
VB
Sub ImportFromFiles ( 
	Location As String
)

Parameters

Location
Type: SystemString
The file or folder to load the dye file(s) from
Remarks
Imports one or more dye files from the specified file or folder, adding it to the current collection of dyes. To load all dye files in the specified location, use a wildcard string of the form "C:\Dyes\*". To load a single specific dye file, use a fully qualified path name to the dye file. Note that the dye(s) imported are added to the current collection. To replace the current collection with the saved collection, call the RemoveAll method prior to calling the Open method. Once dye information for a specific dye is imported into the collection, the information in the collection is decoupled from the contents of the dye file, in other words, the dyes collection is a snapshot of the dye(s) imported by this function.
See Also