SVGImageElementBuilder.HrefBase64FromFile
Contents
[
Hide
]HrefBase64FromFile(string)
Sets the ‘href’ attribute of the SVG ‘image’ element using a base64 encoded image file.
public SVGImageElementBuilder HrefBase64FromFile(string imagePath)
Parameter | Type | Description |
---|---|---|
imagePath | String | The file path of the image. |
Return Value
The current instance of SVGImageElementBuilder for method chaining.
See Also
- class SVGImageElementBuilder
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG
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)
Parameter | Type | Description |
---|---|---|
filePath | String | The file path of the image. |
mimeType | String | The MIME type of the image. |
Return Value
The current instance of SVGImageElementBuilder for method chaining.
See Also
- class SVGImageElementBuilder
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG