Class ResourceLoader
Resource loader class.
Inheritance
System.Object
ResourceLoader
Namespace: FastReport.Utils
Assembly: FastReport.Base.dll
Syntax
public static class ResourceLoader
Methods
GetStream(String)
Gets a stream from FastReport assembly resource.
Declaration
public static Stream GetStream(string resource)
Parameters
Type | Name | Description |
---|---|---|
System.String | resource | Resource name. |
Returns
Type | Description |
---|---|
System.IO.Stream | Stream object. |
GetStream(String, String)
Gets a stream from specified assembly resource.
Declaration
public static Stream GetStream(string assembly, string resource)
Parameters
Type | Name | Description |
---|---|---|
System.String | assembly | Assembly name. |
System.String | resource | Resource name. |
Returns
Type | Description |
---|---|
System.IO.Stream | Stream object. |
UnpackStream(String)
Gets a stream from specified FastReport assembly resource and unpacks it.
Declaration
public static Stream UnpackStream(string resource)
Parameters
Type | Name | Description |
---|---|---|
System.String | resource | Resource name. |
Returns
Type | Description |
---|---|
System.IO.Stream | Stream object. |
UnpackStream(String, String)
Gets a stream from specified assembly resource and unpacks it.
Declaration
public static Stream UnpackStream(string assembly, string resource)
Parameters
Type | Name | Description |
---|---|---|
System.String | assembly | Assembly name. |
System.String | resource | Resource name. |
Returns
Type | Description |
---|---|
System.IO.Stream | Stream object. |