IMcImageSetFilesAddDataFromInfoFile Method
|
|
Method used to add set data from an info file.
Namespace:
MediaCy.IQL.Sets.IO
Assembly:
MediaCy.IQL.Sets.IO (in MediaCy.IQL.Sets.IO.dll) Version: 10.0.6912.0
SyntaxFunction AddDataFromInfoFile (
SetOrSets As Object,
OriginalFileName As String
) As Boolean
Parameters
- SetOrSets
- Type: SystemObject
The sets collection or single set to which data should be added - OriginalFileName
- Type: SystemString
The full path to the set file (see Remarks)
Return Value
Type:
BooleanHRESULT with status, throws exceptions if fails.
RemarksThis method may be used by the application to check for a side-by-side info file.
The OriginalFileName must be the full path name to the original set file - the side-by-side
info file will have the same name with the info file format extension .MCSI added (the
info file is presumed to have been created by the SaveDataToInfoFile method).
The data found in the info file will override the data read from the original set file.
Note that this routine will only check for info files in the currently defined system
info file format (see the SetInfoFileFormat method). However, McImageSetFiles.Open method
will automatically add the information from a side-by-side info file in any of the
supported info formats if the above conditions are met and an info file is found.
See Also