DashboardHelperImageFileToDataUri Method
Converts an image file's content into a base64 encoded data uri.
Namespace: MFiles.VAF.Configuration.Domain.DashboardsAssembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
public static string ImageFileToDataUri(
string imgPath
)
- imgPath String
- The path to the image file (on the server).
StringBase64 encoded data uri.