FileSystemImageSource Constructor (String, String, Boolean) |
Provides access to all image files from a directory that match a pattern or from a single file.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public FileSystemImageSource(
string path,
string pattern,
bool doAllFrames
)
Public Sub New (
path As String,
pattern As String,
doAllFrames As Boolean
)
Parameters
- path
- Type: SystemString
A path to a directory containing image files or to a single file. - pattern
- Type: SystemString
A regular expression used to match files in the directory. - doAllFrames
- Type: SystemBoolean
If true, this image source will provide access to every available frame in every file.
Exceptions Exception | Condition |
---|
| Thrown if the path or pattern is null (Nothing in VB). |
Remarks This will provide access only to image files for which there is an existing registered codec.
Because there is a codec available for a file does not mean that it can be loaded.
If path is a single file, the pattern will be ignored.
See Also