PageScaling.PageScalingOption

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

All Implemented Interfaces: com.aspose.xps.metadata.PageScaling.IPageScalingItem

public static final class PageScaling.PageScalingOption extends Option implements PageScaling.IPageScalingItem

描述 PageScaling 功能选项。

字段

字段描述
Custom指定应对 Application Media Size 应用自定义缩放。
CustomSquare指定应对 Application Media Size 应用自定义正方形缩放。
FitApplicationBleedSizeToPageImageableSize指定应将应用的出血尺寸缩放到 PageImageableSize,同时保持纵横比。
FitApplicationContentSizeToPageImageableSize指定应将应用的内容尺寸缩放到 PageImageableSize,同时保持纵横比。
FitApplicationMediaSizeToPageImageableSize指定应将应用的媒体尺寸缩放到 PageImageableSize,同时保持纵横比。
FitApplicationMediaSizeToPageMediaSize指定应将应用的媒体尺寸缩放到 PageMediaSize,同时保持纵横比。
None指定不应应用任何缩放。

方法

方法描述
add(IOptionItem[] items)将一系列项目添加到此选项的项目列表末尾。
equals(Object arg0)
getClass()
getName()获取元素名称。
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Custom

public static PageScaling.PageScalingOption Custom

指定应对 Application Media Size 应用自定义缩放。

CustomSquare

public static PageScaling.PageScalingOption CustomSquare

指定应对 Application Media Size 应用自定义正方形缩放。

FitApplicationBleedSizeToPageImageableSize

public static PageScaling.PageScalingOption FitApplicationBleedSizeToPageImageableSize

指定应将应用的出血尺寸缩放到 PageImageableSize,同时保持纵横比。

FitApplicationContentSizeToPageImageableSize

public static PageScaling.PageScalingOption FitApplicationContentSizeToPageImageableSize

指定应将应用的内容尺寸缩放到 PageImageableSize,同时保持纵横比。

FitApplicationMediaSizeToPageImageableSize

public static PageScaling.PageScalingOption FitApplicationMediaSizeToPageImageableSize

指定应将应用的媒体尺寸缩放到 PageImageableSize,同时保持纵横比。

FitApplicationMediaSizeToPageMediaSize

public static PageScaling.PageScalingOption FitApplicationMediaSizeToPageMediaSize

指定应将应用的媒体尺寸缩放到 PageMediaSize,同时保持纵横比。

None

public static PageScaling.PageScalingOption None

指定不应应用任何缩放。

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

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