ForRenderingByWidth

CadOptions.ForRenderingByWidth method

Initializes an instance of the CadOptions class for rendering by width.

public static CadOptions ForRenderingByWidth(int width)
Parameter Type Description
width Int32 The width of the output result (in pixels).

Return Value

New instance of the CadOptions class for rendering by width.

Exceptions

exception condition
ArgumentException Thrown when width is less or equal to zero.

Remarks

For code example, see the documentation.

See Also