IMcLensesImportFromFiles Method
|
|
Adds lens information from 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
SyntaxSub ImportFromFiles (
Location As String
)
Parameters
- Location
- Type: SystemString
The file or folder to load the set of lens information from
RemarksImports one or more lens information files from the specified file or folder, adding it to the
current set of lens information. To load all lens files in the specified location, use
a wildcard string of the form "C:\Lenses\*". To load a single specific lens file, use a fully
qualified path name to the lens file.
Note that the lens(es) 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 lens information for a specific lens is imported into the collection, the
information in the collection is decoupled from the contents of the lens file, in other
words, the lenses collection is a snapshot of the lens(es) imported by this function.
See Also