ChartToolsImageFromResourceWpf Method |
LightningChart .NET Help
Create image from assembly embbedded resource. Includes assembly name in the beginning of resource name.
Namespace:
Arction.Wpf.Charting
Assembly:
Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic static BitmapFrame ImageFromResourceWpf(
string resourceName,
Assembly resourceAssembly
)
Public Shared Function ImageFromResourceWpf (
resourceName As String,
resourceAssembly As Assembly
) As BitmapFrame
public:
static BitmapFrame^ ImageFromResourceWpf(
String^ resourceName,
Assembly^ resourceAssembly
)
Parameters
- resourceName
- Type: SystemString
Resource name, without assembly identifier.
E.g. "Resources.ArctionLogo.png", not like "Arction.DemoApp.Resources.ArctionLogo.png" - resourceAssembly
- Type: System.ReflectionAssembly
Assembly where the resource is located
Return Value
Type:
BitmapFrameImage if success, else null
See Also