ForRenderingByScaleFactor
Leave feedback
On this page
Initializes an instance of the CadOptions class for rendering by scale factor.
public static CadOptions ForRenderingByScaleFactor(float scaleFactor)
| Parameter | Type | Description |
|---|---|---|
| scaleFactor | Single | Value higher than 1 enlarges output result; value between 0 and 1 reduces output result. |
New instance of the CadOptions class for rendering by scale factor.
| exception | condition |
|---|---|
| ArgumentException | Thrown when scaleFactor 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.