软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Field and Description |
---|---|
static PageAttributes.OrientationRequestedType |
PageAttributes.OrientationRequestedType.LANDSCAPE
的orientationrequestedtype实例使用指定一个横向。
|
static PageAttributes.OrientationRequestedType |
PageAttributes.OrientationRequestedType.PORTRAIT
的orientationrequestedtype实例使用指定一个肖像。
|
Modifier and Type | Method and Description |
---|---|
PageAttributes.OrientationRequestedType |
PageAttributes.getOrientationRequested()
返回使用这些属性的页面的打印方向。
|
Modifier and Type | Method and Description |
---|---|
void |
PageAttributes.setOrientationRequested(PageAttributes.OrientationRequestedType orientationRequested)
指定使用这些属性的页面的打印方向。
|
Constructor and Description |
---|
PageAttributes(PageAttributes.ColorType color, PageAttributes.MediaType media, PageAttributes.OrientationRequestedType orientationRequested, PageAttributes.OriginType origin, PageAttributes.PrintQualityType printQuality, int[] printerResolution)
构建了一个pageattributes实例为每个属性指定的值。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.