Back to Devexpress

DXImage.FromBase64String(String) Method

corelibraries-devexpress-dot-drawing-dot-dximage-dot-frombase64string-x28-system-dot-string-x29.md

latest3.2 KB
Original Source

DXImage.FromBase64String(String) Method

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

Declaration

csharp
public static DXImage FromBase64String(
    string base64
)
vb
Public Shared Function FromBase64String(
    base64 As String
) As DXImage

Parameters

NameTypeDescription
base64String

A binary string that contains image data.

|

Returns

TypeDescription
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.

spreadsheet-document-api-import-data-from-data-sources/CS/DataImportExample/TestDataValueConverter.cs#L20

csharp
{
    result = DXImage.FromBase64String(strValue);
}

winforms-spreadsheet-import-data-from-different-data-sources/CS/DataImportExample/TestDataValueConverter.cs#L16

csharp
{
    result = DXImage.FromBase64String(strValue);
}

spreadsheet-document-api-import-data-from-data-sources/VB/DataImportExample/TestDataValueConverter.vb#L17

vb
Try
    result = DXImage.FromBase64String(strValue)
Catch

winforms-spreadsheet-import-data-from-different-data-sources/VB/DataImportExample/TestDataValueConverter.vb#L17

vb
Try
    result = DXImage.FromBase64String(strValue)
Catch

See Also

DXImage Class

DXImage Members

DevExpress.Drawing Namespace