CadOptionsForRenderingByWidth Method
Initializes new instance of CadOptions class for rendering by width.

Namespace: GroupDocs.Viewer.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 20.10
Syntax
public static CadOptions ForRenderingByWidth(
	int width
)

Parameters

width
Type: SystemInt32
The width of the output result in pixels.

Return Value

Type: CadOptions
New instance of CadOptions class for rendering by width.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when width is less or equal to zero.
See Also