for_rendering_by_width_and_height method

for_rendering_by_width_and_height

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.

See Also