
## match_media {#str}

Returns a new MediaQueryList object that can then be used to determine if the document matches the media query string, 
as well as to monitor the document to detect when it matches (or stops matching) that media query.
See CSSOM View Module specification:


### Returns 


MediaQueryList object


```python
def match_media(self, query):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| query | str | The string containing a media query; <br/>see  for details. |



### See Also
* module [`aspose.svg.window`](../../)
* class [`IWindow`](/svg/python-net/aspose.svg.window/iwindow)
