IsLandscape

PageSize.IsLandscape property

获取页面方向。如果这是横向,则返回 true,如果是纵向,则返回 false。

public bool IsLandscape { get; set; }

也可以看看