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.

Returns

New instance of CadOptions class for rendering by width and height.

def for_rendering_by_width_and_height(self, 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).

Exceptions

Exception Description
ArgumentException Thrown when width is less or equal to zero.
ArgumentException Thrown when height is less or equal to zero.

See Also