__init__ constructor
Leave feedback
On this page
Initializes an instance of the Size class.
def __init__(self, relative_size):
...
| Parameter | Type | Description |
|---|---|---|
| relative_size | int |
The size in percents in relation to page size. |
| Raises | Description |
|---|---|
ValueError |
When relative_size is zero or higher than 100. |
- class
Size
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.