クラスjava.awt.PageAttributes.OrientationRequestedType
の使用
-
java.awtでのPageAttributes.OrientationRequestedTypeの使用
修飾子と型フィールド説明static final PageAttributes.OrientationRequestedType
PageAttributes.OrientationRequestedType.LANDSCAPE
横方向の指定に使用するOrientationRequestedTypeインスタンスです。static final PageAttributes.OrientationRequestedType
PageAttributes.OrientationRequestedType.PORTRAIT
縦方向の指定に使用するOrientationRequestedTypeインスタンスです。修飾子と型メソッド説明void
PageAttributes.setOrientationRequested
(PageAttributes.OrientationRequestedType orientationRequested) これらの属性を使用するページの用紙方向を指定します。修飾子コンストラクタ説明PageAttributes
(PageAttributes.ColorType color, PageAttributes.MediaType media, PageAttributes.OrientationRequestedType orientationRequested, PageAttributes.OriginType origin, PageAttributes.PrintQualityType printQuality, int[] printerResolution) 各属性に指定された値を持つPageAttributesインスタンスを生成します。