CadOptionsForRenderingByWidth Method |
Initializes new instance of
CadOptions class for rendering by width.
Namespace: GroupDocs.Viewer.OptionsAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic static CadOptions ForRenderingByWidth(
int width
)
Public Shared Function ForRenderingByWidth (
width As Integer
) As CadOptions
public:
static CadOptions^ ForRenderingByWidth(
int width
)
static member ForRenderingByWidth :
width : int -> CadOptions
Parameters
- width
- Type: SystemInt32
The width of the output result in pixels.
Return Value
Type:
CadOptionsNew instance of
CadOptions class for rendering by width.
ExceptionsException | Condition |
---|
ArgumentException | Thrown when width is less or equal to zero. |
See Also