SetLocalPath

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)
ParameterTypeDescription
pathStringAbsolute or relative path to the directory.

See Also


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)
ParameterTypeDescription
pathStringAbsolute or relative path to the directory.
createBooleanParameter to prevent the directory from being created automatically.

See Also