FitHExplicitDestination
内容
[
隐藏
]遗产: java.lang.Object, com.aspose.pdf.ExplicitDestination
public final class FitHExplicitDestination extends ExplicitDestination
表示显示页面的显式目标,其垂直坐标 top 位于窗口的上边缘,页面内容放大到足以适合窗口内页面的整个宽度。 top 的空值指定该参数的当前值将保持不变。
构造函数
构造函数 | 描述 |
---|---|
FitHExplicitDestination(Page page, double top) | 创建实例并通过 DOM 页面对象和 top 参数对其进行初始化。 |
FitHExplicitDestination(Document document, int pageNumber, double top) | 创建远程显式目标。 |
FitHExplicitDestination(int pageNumber, double top) | 创建远程显式目标。 |
方法
方法 | 描述 |
---|---|
createDestination(IDocument doc, int pageNumber, int type, double[] values) | 创建 ExplicitDestination 子类的实例。 |
createDestination(Page page, int type, double[] values) | 创建 ExplicitDestination 子类的实例。 |
createDestination(IPdfArray engineDest) | 创建 ExplicitDestination 子类的实例。 |
createDestination(int pageNumber, int type, double[] values) | 创建 ExplicitDestination 子类的实例。 |
equals(Object arg0) | |
getClass() | |
getPage() | 获取目标页面对象 |
getPageNumber() | 获取目标页码 |
getTop() | 获取位于窗口上边缘的垂直坐标top。 |
hashCode() | |
notify() | |
notifyAll() | |
toString() | 将对象状态转换为字符串值。 |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
FitHExplicitDestination(Page page, double top)
public FitHExplicitDestination(Page page, double top)
创建实例并通过 DOM 页面对象和 top 参数对其进行初始化。
参数:
范围 | 类型 | 描述 |
---|---|---|
page | Page | DOM 页面对象。 |
top | double | 位于窗口顶部边缘的垂直坐标顶部。 |
FitHExplicitDestination(Document document, int pageNumber, double top)
public FitHExplicitDestination(Document document, int pageNumber, double top)
创建远程显式目标。
参数:
范围 | 类型 | 描述 |
---|---|---|
document | Document | 包含此对象的父文档。 |
pageNumber | int | 远程文档的目标页码。 |
top | double | 位于窗口顶部边缘的垂直坐标顶部。 |
FitHExplicitDestination(int pageNumber, double top)
public FitHExplicitDestination(int pageNumber, double top)
创建远程显式目标。
参数:
范围 | 类型 | 描述 |
---|---|---|
pageNumber | int | 远程文档的目标页码。 |
top | double | 位于窗口顶部边缘的垂直坐标顶部。 |
createDestination(IDocument doc, int pageNumber, int type, double[] values)
public static ExplicitDestination createDestination(IDocument doc, int pageNumber, int type, double[] values)
创建 ExplicitDestination 子类的实例。
参数:
范围 | 类型 | 描述 |
---|---|---|
doc | IDocument | 将在其中创建目标的文档。 |
pageNumber | int | 页码。 |
type | int | 目的地类型。 |
values | double[] | 目的地特定值的数组。 |
退货: ExplicitDestination - 明确的目标对象。
createDestination(Page page, int type, double[] values)
public static ExplicitDestination createDestination(Page page, int type, double[] values)
创建 ExplicitDestination 子类的实例。
参数:
范围 | 类型 | 描述 |
---|---|---|
page | Page | 目标页面的对象。 |
type | int | 显式目标的类型。 |
values | double[] | 双精度值数组。 |
退货: ExplicitDestination - 明确的目标对象。
createDestination(IPdfArray engineDest)
public static ExplicitDestination createDestination(IPdfArray engineDest)
创建 ExplicitDestination 子类的实例。
参数:
范围 | 类型 | 描述 |
---|---|---|
engineDest | IPdfArray | 引擎目标对象。 |
退货: ExplicitDestination - DOM 显式目标对象。
createDestination(int pageNumber, int type, double[] values)
public static ExplicitDestination createDestination(int pageNumber, int type, double[] values)
创建 ExplicitDestination 子类的实例。
参数:
范围 | 类型 | 描述 |
---|---|---|
pageNumber | int | 目标页码。 |
type | int | 显式目标的类型。 |
values | double[] | 双精度值数组。 |
退货: ExplicitDestination - 明确的目标对象。
equals(Object arg0)
public boolean equals(Object arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Object |
退货: 布尔值
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getPage()
public Page getPage()
获取目标页面对象
退货: Page 页面对象
getPageNumber()
public int getPageNumber()
获取目标页码
退货: int - 整数值
getTop()
public double getTop()
获取位于窗口上边缘的垂直坐标top。
退货: 双倍价值
hashCode()
public native int hashCode()
退货: 整数
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
将对象状态转换为字符串值。示例:“1 FitH 100”。
退货: java.lang.String - 表示对象状态的字符串值。
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long | |
arg1 | int |