corelibraries-devexpress-dot-drawing-dot-dximage-dot-frombase64string-x28-system-dot-string-x29.md
Creates an image from the specified binary string that contains the image data.
Namespace : DevExpress.Drawing
Assembly : DevExpress.Drawing.v25.2.dll
NuGet Package : DevExpress.Drawing
public static DXImage FromBase64String(
string base64
)
Public Shared Function FromBase64String(
base64 As String
) As DXImage
| Name | Type | Description |
|---|---|---|
| base64 | String |
A binary string that contains image data.
|
| Type | Description |
|---|---|
| DXImage |
The created image.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the FromBase64String(String) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
{
result = DXImage.FromBase64String(strValue);
}
{
result = DXImage.FromBase64String(strValue);
}
Try
result = DXImage.FromBase64String(strValue)
Catch
Try
result = DXImage.FromBase64String(strValue)
Catch
See Also