JavaTM 2 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 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。