ForRenderingByScaleFactor
CadOptions.ForRenderingByScaleFactor method
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. |
Return Value
New instance of the CadOptions
class for rendering by scale factor.
Exceptions
exception | condition |
---|---|
ArgumentException | Thrown when scaleFactor is less or equal to zero. |
Remarks
For code example, see the documentation.
See Also
- class CadOptions
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer