SVGImageElementBuilder.HrefBase64FromFile

HrefBase64FromFile(string)

Sets the ‘href’ attribute of the SVG ‘image’ element using a base64 encoded image file.

public SVGImageElementBuilder HrefBase64FromFile(string imagePath)
ParameterTypeDescription
imagePathStringThe file path of the image.

Return Value

The current instance of SVGImageElementBuilder for method chaining.

See Also


HrefBase64FromFile(string, string)

Sets the ‘href’ attribute of the SVG ‘image’ element using a base64 encoded image file with a specified MIME type.

public SVGImageElementBuilder HrefBase64FromFile(string filePath, string mimeType)
ParameterTypeDescription
filePathStringThe file path of the image.
mimeTypeStringThe MIME type of the image.

Return Value

The current instance of SVGImageElementBuilder for method chaining.

See Also