JavaTM Platform
Standard Ed. 6

类 java.awt.PageAttributes.OrientationRequestedType
的使用

使用 PageAttributes.OrientationRequestedType 的软件包
java.awt 包含用于创建用户界面和绘制图形图像的所有类。 
 

java.awt 中 PageAttributes.OrientationRequestedType 的使用
 

声明为 PageAttributes.OrientationRequestedType 的 java.awt 中的字段
static PageAttributes.OrientationRequestedType PageAttributes.OrientationRequestedType.LANDSCAPE
          用于指定横向方向的 OrientationRequestedType 实例。
static PageAttributes.OrientationRequestedType PageAttributes.OrientationRequestedType.PORTRAIT
          用于指定纵向方向的 OrientationRequestedType 实例。
 

返回 PageAttributes.OrientationRequestedType 的 java.awt 中的方法
 PageAttributes.OrientationRequestedType PageAttributes.getOrientationRequested()
          返回使用这些属性的页面的打印方向。
 

参数类型为 PageAttributes.OrientationRequestedType 的 java.awt 中的方法
 void PageAttributes.setOrientationRequested(PageAttributes.OrientationRequestedType orientationRequested)
          指定使用这些属性的页面的打印方向。
 

参数类型为 PageAttributes.OrientationRequestedType 的 java.awt 中的构造方法
PageAttributes(PageAttributes.ColorType color, PageAttributes.MediaType media, PageAttributes.OrientationRequestedType orientationRequested, PageAttributes.OriginType origin, PageAttributes.PrintQualityType printQuality, int[] printerResolution)
          构造一个具有每个属性的指定值的 PageAttributes 实例。
 


JavaTM Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。