href_base_64_from_file method
href_base_64_from_file
Sets the ‘href’ attribute of the SVG ‘image’ element using a base64 encoded image file.
Returns
The current instance of SVGImageElementBuilder for method chaining.
def href_base_64_from_file(self, image_path):
...
Parameter | Type | Description |
---|---|---|
image_path | str | The file path of the image. |
href_base_64_from_file
Sets the ‘href’ attribute of the SVG ‘image’ element using a base64 encoded image file with a specified MIME type.
Returns
The current instance of SVGImageElementBuilder for method chaining.
def href_base_64_from_file(self, file_path, mime_type):
...
Parameter | Type | Description |
---|---|---|
file_path | str | The file path of the image. |
mime_type | str | The MIME type of the image. |
See Also
- module
aspose.svg.builder
- class
SVGImageElementBuilder