Prototype

procedure LoadFromBase64(const aSource: string; aSize :TSize; aColor :TAlphaColor = TAlphaColors.Null);

Description

loads a base64-encoded image.

aSource contains the text describing the base64 encoded image.

aSize contains the optimal size of the image to be rendered, either because it is included in an html <img> tag, or for internal use when displaying alerts. aSize can be null, in which case the size defined in the image, multiplied by the display scale is used.

aColor allows you to adapt the color of a monochrome image according to certain criteria, for example a light or dark mode. Internally, aColor is used to adapt color to the type of alert. Set the color to null to leave the image unchanged.

See also

TMDCustomControl.OnUnknownImage64

TMDStyle.OnUnknownImage64

Markdown syntax: Images