SetLocalPath
Contents
[
Hide
]SetLocalPath(string)
Specify an absolute or relative path to the directory where the resources will be downloaded. If the directory does not exist, it will be created automatically. By default, the resources are downloaded to aspose_data directory in the application’s working directory.
public static void SetLocalPath(string path)
| Parameter | Type | Description |
|---|---|---|
| path | String | Absolute or relative path to the directory. |
See Also
- class Resources
- namespace Aspose.OCR
- assembly Aspose.OCR
SetLocalPath(string, bool)
Specify an absolute or relative path to the directory where the resources will be downloaded. Pass false to the create parameter to prevent the directory from being created automatically. If the provided directory does not exist and creation is not allowed, the resources will be loaded into the aspose_data directory in the application’s working directory.
public static void SetLocalPath(string path, bool create)
| Parameter | Type | Description |
|---|---|---|
| path | String | Absolute or relative path to the directory. |
| create | Boolean | Parameter to prevent the directory from being created automatically. |
See Also
- class Resources
- namespace Aspose.OCR
- assembly Aspose.OCR