for_rendering_by_width_and_height method
Leave feedback
On this page
Initializes an instance of the CadOptions class for rendering by width and height.
For code example, see the documentation.
def for_rendering_by_width_and_height(cls, width, height):
...
| Parameter | Type | Description |
|---|---|---|
| width | int |
The width of the output result (in pixels). |
| height | int |
The height of the output result (in pixels). |
Returns: CadOptions: New instance of CadOptions class for rendering by width and height.
| Raises | Description |
|---|---|
ValueError |
If height is less than or equal to zero. |
- class
CadOptions
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.