THtmlDataUri.GetUriBase64 Method
Creates a data uri according to the RFC 2397: http://tools.ietf.org/html/rfc2397 It will use base64 encoding
Syntax
Unit: FlexCel.Core
class function THtmlDataUri.GetUriBase64(const mimeType: string; const data: TBytes): string; static;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | mimeType | string | Mime type of the data. You can use TStandardMimeType for common mime types. |
const | data | TBytes | Data to encode. |