FitRExplicitDestination

遗产: java.lang.Object, com.aspose.pdf.ExplicitDestination

public final class FitRExplicitDestination extends ExplicitDestination

表示显示页面的显式目标,其内容放大到足以在水平和垂直方向上完全适合由左、下、右和上坐标指定的矩形。如果所需的水平和垂直放大倍数不同,则使用两者中较小的一个,在另一个维度中将窗口内的矩形居中。任何参数的空值都可能导致不可预知的行为。

构造函数

构造函数描述
FitRExplicitDestination(Page page, double left, double bottom, double right, double top)创建实例并通过 DOM 页面对象和可见参数对其进行初始化。
FitRExplicitDestination(Document document, int pageNumber, double left, double bottom, double right, double top)创建远程显式目标。
FitRExplicitDestination(int pageNumber, double left, double bottom, double right, 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)
getBottom()获取可见矩形的底部垂直坐标。
getClass()
getLeft()获取可见矩形的左水平坐标。
getPage()获取目标页面对象
getPageNumber()获取目标页码
getRight()获取可见矩形的右横坐标。
getTop()获取可见矩形的顶部垂直坐标。
hashCode()
notify()
notifyAll()
toString()将对象状态转换为字符串值。
wait()
wait(long arg0)
wait(long arg0, int arg1)

FitRExplicitDestination(Page page, double left, double bottom, double right, double top)

public FitRExplicitDestination(Page page, double left, double bottom, double right, double top)

创建实例并通过 DOM 页面对象和可见参数对其进行初始化。

参数:

范围类型描述
pagePageDOM 页面对象。
leftdouble可见矩形的左水平坐标。
bottomdouble可见矩形的底部垂直坐标。
rightdouble可见矩形的右水平坐标。
topdouble可见矩形的顶部垂直坐标。

FitRExplicitDestination(Document document, int pageNumber, double left, double bottom, double right, double top)

public FitRExplicitDestination(Document document, int pageNumber, double left, double bottom, double right, double top)

创建远程显式目标。

参数:

范围类型描述
documentDocument包含此对象的父文档。
pageNumberint远程文档的目标页码。
leftdouble可见矩形的左水平坐标。
bottomdouble可见矩形的底部垂直坐标。
rightdouble可见矩形的右水平坐标。
topdouble可见矩形的顶部垂直坐标。

FitRExplicitDestination(int pageNumber, double left, double bottom, double right, double top)

public FitRExplicitDestination(int pageNumber, double left, double bottom, double right, double top)

创建远程显式目标。

参数:

范围类型描述
pageNumberint远程文档的目标页码。
leftdouble可见矩形的左水平坐标。
bottomdouble可见矩形的底部垂直坐标。
rightdouble可见矩形的右水平坐标。
topdouble可见矩形的顶部垂直坐标。

createDestination(IDocument doc, int pageNumber, int type, double[] values)

public static ExplicitDestination createDestination(IDocument doc, int pageNumber, int type, double[] values)

创建 ExplicitDestination 子类的实例。

参数:

范围类型描述
docIDocument将在其中创建目标的文档。
pageNumberint页码。
typeint目的地类型。
valuesdouble[]目的地特定值的数组。

退货: ExplicitDestination - 明确的目标对象。

createDestination(Page page, int type, double[] values)

public static ExplicitDestination createDestination(Page page, int type, double[] values)

创建 ExplicitDestination 子类的实例。

参数:

范围类型描述
pagePage目标页面的对象。
typeint显式目标的类型。
valuesdouble[]双精度值数组。

退货: ExplicitDestination - 明确的目标对象。

createDestination(IPdfArray engineDest)

public static ExplicitDestination createDestination(IPdfArray engineDest)

创建 ExplicitDestination 子类的实例。

参数:

范围类型描述
engineDestIPdfArray引擎目标对象。

退货: ExplicitDestination - DOM 显式目标对象。

createDestination(int pageNumber, int type, double[] values)

public static ExplicitDestination createDestination(int pageNumber, int type, double[] values)

创建 ExplicitDestination 子类的实例。

参数:

范围类型描述
pageNumberint目标页码。
typeint显式目标的类型。
valuesdouble[]双精度值数组。

退货: ExplicitDestination - 明确的目标对象。

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getBottom()

public double getBottom()

获取可见矩形的底部垂直坐标。

退货: 双倍价值

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getLeft()

public double getLeft()

获取可见矩形的左水平坐标。

退货: 双倍价值

getPage()

public Page getPage()

获取目标页面对象

退货: Page 页面对象

getPageNumber()

public int getPageNumber()

获取目标页码

退货: int - 整数值

getRight()

public double getRight()

获取可见矩形的右横坐标。

退货: 双倍价值

getTop()

public double getTop()

获取可见矩形的顶部垂直坐标。

退货: 双倍价值

hashCode()

public native int hashCode()

退货: 整数

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

将对象状态转换为字符串值。示例:“1 FitR 100 200 300 400”。

退货: java.lang.String - 表示对象状态的字符串值。

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int