SVGImageElementBuilder.HrefBase64FromBytes

SVGImageElementBuilder.HrefBase64FromBytes method

Sets the ‘href’ attribute of the SVG ‘image’ element using base64 encoded bytes of an image.

public SVGImageElementBuilder HrefBase64FromBytes(byte[] data, string mimeType)
ParameterTypeDescription
dataByte[]The byte array of the image data.
mimeTypeStringThe MIME type of the image.

Return Value

The current instance of SVGImageElementBuilder for method chaining.

See Also