Description

Converts the specified String representation of a bitmap consisting of base 64 digits to an equivalent bitmap.

Syntax

object.FromBase64String(string)

Parameters

string
A string of base 64 digits.

Return Value

A Bitmap object.

Remarks

Use the base64.exe utility to convert an image file to base64 format.

Example

$Label.Image = $System.Bitmap.FromBase64String($ClockImage) $ClockImage = " Qk0GAwAAAAAAADYAAAAoAAAADwAAAA8AAAABABgAAAAAANACAAAAAAAAAAAAAAAAAAAAAAAA wMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAwMDAwMDAwMDAwMDAwMDAAAAAwMDAwMDA wMDAAAAAAAAA////AP//////AP//////AAAAAAAAwMDAwMDAwMDAAAAAwMDAwMDAAAAAAP// ////AP//////AP//////AP//////AP//AAAAwMDAwMDAAAAAwMDAAAAAAP//////AP////// AP//////AP//////AP//////AP//AAAAwMDAAAAAwMDAAAAA////AP//AAAAAP//////AP// ////AP//////AP//////AAAAwMDAAAAAAAAA////AP//////AP//AAAAAP//////AP////// AP//////AP//////AAAAAAAAAAAAAP//////AP//////AP//AAAAAP//////AP//////AP// ////AP//AAAAAAAAAAAA////AP//////AP//////AP//AAAAAAAAAAAAAAAAAAAAAAAA//// AAAAAAAAAAAAAP//////AP//////AP//////AP//////AP//////AP//////AP//AAAAAAAA AAAA////AP//////AP//////AP//////AP//////AP//////AP//////AAAAAAAAwMDAAAAA ////AP//////AP//////AP//////AP//////AP//////AAAAwMDAAAAAwMDAAAAAAP////// AP//////AP//////AP//////AP//////AP//AAAAwMDAAAAAwMDAwMDAAAAAAP//////AP// ////AAAA////AP//////AP//AAAAwMDAwMDAAAAAwMDAwMDAwMDAAAAAAAAA////AP////// AP//////AAAAAAAAwMDAwMDAwMDAAAAAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAA wMDAwMDAwMDAwMDAwMDAAAAA "

See Also

Applies To: Bitmap


The CHM file was converted to HTML by chm2web software.