Class EmbeddedResourceLoader
Provides functionality to load embedded resources from the assembly.
Inheritance
System.Object
EmbeddedResourceLoader
Namespace: IronOcr.Utils
Assembly: IronOcr.dll
Syntax
public class EmbeddedResourceLoader : Object
Constructors
EmbeddedResourceLoader()
Declaration
public EmbeddedResourceLoader()
Methods
LoadResource(String)
Loads an embedded resource as a System.IO.Stream.
Declaration
public static Stream LoadResource(string resourceName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | resourceName | The name of the embedded resource. |
Returns
| Type | Description |
|---|---|
| System.IO.Stream | A System.IO.Stream representing the embedded resource. |
Exceptions
| Type | Condition |
|---|---|
| IronOcrProductException | Thrown when the specified resource cannot be found. |