'Declaration
Public Overloads Function LoadFromDirectory( _ ByVal Path As String, _ ByVal IncludeSubFolders As Boolean, _ ByVal SearchPattern As String _ ) As GdPictureStatus
public GdPictureStatus LoadFromDirectory( string Path, bool IncludeSubFolders, string SearchPattern )
public function LoadFromDirectory( Path: String; IncludeSubFolders: Boolean; SearchPattern: String ): GdPictureStatus;
public function LoadFromDirectory( Path : String, IncludeSubFolders : boolean, SearchPattern : String ) : GdPictureStatus;
public: GdPictureStatus LoadFromDirectory( string* Path, bool IncludeSubFolders, string* SearchPattern )
public: GdPictureStatus LoadFromDirectory( String^ Path, bool IncludeSubFolders, String^ SearchPattern )
Parameters
- Path
- The path from which thumbnails will be generated.
- IncludeSubFolders
- Set to True to include sub folders else False.
- SearchPattern
- The search string to match against the names of files in path. IE: "*.tif" The parameter cannot end in two periods ("..") or contain two periods ("..") followed by DirectorySeparatorChar or AltDirectorySeparatorChar, nor can it contain any of the characters in InvalidPathChars. Wildcard character: - * Zero or more characters. - ? Exactly one character.
Return Value
A member of the GdPictureStatus enumeration.