ForRenderingByWidthAndHeight
CadOptions.ForRenderingByWidthAndHeight method
初始化新实例CadOptions按宽度和高度渲染的类.
public static CadOptions ForRenderingByWidthAndHeight(int width, int height)
| 范围 | 类型 | 描述 |
|---|---|---|
| width | Int32 | 输出结果的宽度(以像素为单位)。 |
| height | Int32 | 输出结果的高度(以像素为单位)。 |
返回值
的新实例CadOptions按宽度和高度渲染的类。
例外
| 例外 | (健康)状况 |
|---|---|
| ArgumentException | 抛出时width小于或等于零。 |
| ArgumentException | 抛出时height小于或等于零。 |
也可以看看
- class CadOptions
- 命名空间 GroupDocs.Viewer.Options
- 部件 GroupDocs.Viewer