GH_AsynchFileData Constructor |
Asynchronous constructor. File properties will be loaded asychronously.
Namespace:
Grasshopper.GUI
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public GH_AsynchFileData(
string filePath,
bool harvestThumbnail,
GH_AsynchFileDataFileChangedDelegate callback
)
Public Sub New (
filePath As String,
harvestThumbnail As Boolean,
callback As GH_AsynchFileDataFileChangedDelegate
)
Parameters
- filePath
- Type: SystemString
Location of file - harvestThumbnail
- Type: SystemBoolean
If true, thumbnail data will be loaded. - callback
- Type: Grasshopper.GUIGH_AsynchFileDataFileChangedDelegate
Callback delegate for file changes.
See Also