RotatePage
ViewOptions.RotatePage method
对页面应用顺时针旋转。
public void RotatePage(int pageNumber, Rotation rotation)
| 范围 | 类型 | 描述 | 
|---|---|---|
| pageNumber | Int32 | 页码。 | 
| rotation | Rotation | 旋转值。 | 
例外
| 例外 | (健康)状况 | 
|---|---|
| ArgumentException | 抛出时pageNumber小于或等于零。 | 
| ArgumentException | 旋转带有编号的页面时抛出pageNumber已经添加了。 | 
也可以看看
- enum Rotation
 - class ViewOptions
 - 命名空间 GroupDocs.Viewer.Options
 - 部件 GroupDocs.Viewer