Duplex.DuplexOption

Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.CompositePrintTicketElement, com.aspose.xps.metadata.Option

public static final class Duplex.DuplexOption extends Option

描述 JobDuplexAllDocumentsContiguously 和 DocumentDuplex 功能选项。

字段

字段描述
OneSided指定单面打印。

方法

方法描述
add(IOptionItem[] items)将一系列项目添加到此选项的项目列表末尾。
equals(Object arg0)
getClass()
getName()获取元素名称。
hashCode()
notify()
notifyAll()
toString()
twoSidedLongEdge(Duplex.DuplexMode duplexMode)指定双面打印,使页面沿 MediaSizeHeight 方向平行翻转。
twoSidedShortEdge(Duplex.DuplexMode duplexMode)指定双面打印,使页面沿 MediaSizeWidth 方向平行翻转。
wait()
wait(long arg0)
wait(long arg0, int arg1)

OneSided

public static final Duplex.DuplexOption OneSided

指定单面打印。

add(IOptionItem[] items)

public void add(IOptionItem[] items)

将一系列项目添加到此选项的项目列表末尾。每个项目必须是 ScoredProperty 或 Property 实例。

Parameters:

参数类型描述
itemsIOptionItem[]要添加的项目列表。

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.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

twoSidedLongEdge(Duplex.DuplexMode duplexMode)

public static final Duplex.DuplexOption twoSidedLongEdge(Duplex.DuplexMode duplexMode)

指定双面打印,使页面沿 MediaSizeHeight 方向平行翻转。

Parameters:

参数类型描述
duplexModeDuplexMode该 DuplexMode

Returns: DuplexOption - The Duplex option.

twoSidedShortEdge(Duplex.DuplexMode duplexMode)

public static final Duplex.DuplexOption twoSidedShortEdge(Duplex.DuplexMode duplexMode)

指定双面打印,使页面沿 MediaSizeWidth 方向平行翻转。

Parameters:

参数类型描述
duplexModeDuplexMode该 DuplexMode

Returns: DuplexOption - The

Duplex

选项。

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int