PageImageableSize
Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.CompositePrintTicketElement, com.aspose.xps.metadata.Property
All Implemented Interfaces: com.aspose.xps.metadata.IJobPrintTicketItem, com.aspose.xps.metadata.IDocumentPrintTicketItem, com.aspose.xps.metadata.IPagePrintTicketItem
public final class PageImageableSize extends Property implements IJobPrintTicketItem, IDocumentPrintTicketItem, IPagePrintTicketItem
描述用于布局和渲染的图像画布。此信息将基于 PageMediaSize 和 PageOrientation 报告。 https://docs.microsoft.com/en-us/windows/win32/printdocs/pageimageablesize
构造函数
| 构造函数 | 描述 |
|---|---|
| PageImageableSize(int width, int height) | 创建一个新实例。 |
| PageImageableSize(int width, int height, int originWidth, int originHeight, int extentWidth, int extentHeight) | 创建一个新实例。 |
方法
| 方法 | 描述 |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getName() | 获取元素名称。 |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
PageImageableSize(int width, int height)
public PageImageableSize(int width, int height)
创建一个新实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| 宽度 | int |
ImageableSizeWidth
属性值。 | | | 高度 | int | 一个 |
ImageableSizeHeight
属性值。 |
PageImageableSize(int width, int height, int originWidth, int originHeight, int extentWidth, int extentHeight)
public PageImageableSize(int width, int height, int originWidth, int originHeight, int extentWidth, int extentHeight)
创建一个新实例。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| 宽度 | int |
ImageableSizeWidth
属性值。 | | | 高度 | int | 一个 |
ImageableSizeHeight
属性值。 | | | originWidth | int | 一个 |
ImageableArea
子属性的
OriginWidth
属性值。 | | | originHeight | int | 一个 |
ImageableArea
子属性的
OriginHeight
属性值。 | | | extentWidth | int | 一个 |
ImageableArea
子属性的
ExtentWidth
属性值。 | | | extentHeight | int | 一个 |
ImageableArea
子属性的
ExtentHeight
属性值。 |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName()
public String getName()
获取元素名称。
Returns: java.lang.String
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |