IMcImageSetLoadSources Method
|
|
Loads the image data for the set
Namespace:
MediaCy.IQL.Sets
Assembly:
MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
SyntaxSub LoadSources (
ImageCreationFlags As mcImageCreateFlags
)
Parameters
- ImageCreationFlags
- Type: MediaCy.IQL.EnginemcImageCreateFlags
Image creation flags that control some aspects of how the source images are opened. When the
McImageSet.File property is Nothing, then the mcExposeAsImageCreationFlags.mceascfFailOnNoOp bit may be set to indicate
that all of the opened source images no not need to have the same dimensions and McImage.Type. If this flag is missing,
then all loaded sources must have the same size and McImage.Type.
RemarksThis method loads the source images that are needed to use the set. It is primarily used internally when a
image set is being opened by a class derived from McImageSetFiles; in these cases, the McImageSet.File property will be
an instance of a class exposing IMcImageSetFile. If the File property is not Nothing, you should not call this function
direclty.
If the McImageSet.File property is Nothing, then LoadSources will load all source locations where a
McImageSetSource.Image is Nothing but the McImageSetSource.FileName is set to an image file path that can be opened with
Engine.Images.Open. The file being opened can be a single frame image or it can be a sequence, so long as the
McImageSet.AddImage call that set the file name, has the proper Organization and Location so that the individual
McImasgSetSource.FileIndex values are set properly.
See Also