ForRenderingByWidthAndHeight
Leave feedback
On this page
Initializes an instance of the CadOptions class for rendering by width and height.
public static CadOptions ForRenderingByWidthAndHeight(int width, int height)
| Parameter | Type | Description |
|---|---|---|
| width | Int32 | The width of the output result (in pixels). |
| height | Int32 | The height of the output result (in pixels). |
New instance of CadOptions class for rendering by width and height.
| exception | condition |
|---|---|
| ArgumentException | Thrown when width is less or equal to zero. |
| ArgumentException | Thrown when height is less or equal to zero. |
For code example, see the documentation.
- class CadOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.