---
title: "mask_source_id method"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.builder/maskbuilder/mask_source_id/"
product: "Aspose.SVG for Python via .NET API References"
---


## mask_source_id {#str}

Sets the mask source ID for the mask.


### Returns 


The current instance of MaskBuilder.


```python
def mask_source_id(self, mask_source_id):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| mask_source_id | str | The ID of the mask source element. |
### Exceptions
| Exception | Description |
| :- | :- |
| ArgumentException | Thrown when maskSourceId is null or whitespace. |





### See Also
* module [`aspose.svg.builder`](../../)
* class [`MaskBuilder`](/svg/python-net/aspose.svg.builder/maskbuilder)
