PageScaling.ScaleOffsetAlignmentOption

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

public static final class PageScaling.ScaleOffsetAlignmentOption extends Option

描述 ScaleOffsetAlignment 功能选项。指定缩放内容的对齐方式。

字段

字段描述
BottomCenter指定缩放应在介质底部边缘的中心对齐。
BottomLeft指定缩放应对齐在媒体的左下角。
BottomRight指定缩放应对齐在媒体的右下角。
Center指定缩放应居中于媒体。
LeftCenter指定缩放应对齐在媒体左边缘的中心。
RightCenter指定缩放应对齐在媒体右边缘的中心。
TopCenter指定缩放应对齐在媒体上边缘的中心。
TopLeft指定缩放应对齐在媒体的左上角。
TopRight指定缩放应对齐在媒体的右上角。

方法

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

BottomCenter

public static PageScaling.ScaleOffsetAlignmentOption BottomCenter

指定缩放应在介质底部边缘的中心对齐。

BottomLeft

public static PageScaling.ScaleOffsetAlignmentOption BottomLeft

指定缩放应对齐在媒体的左下角。

BottomRight

public static PageScaling.ScaleOffsetAlignmentOption BottomRight

指定缩放应对齐在媒体的右下角。

Center

public static PageScaling.ScaleOffsetAlignmentOption Center

指定缩放应居中于媒体。

LeftCenter

public static PageScaling.ScaleOffsetAlignmentOption LeftCenter

指定缩放应对齐在媒体左边缘的中心。

RightCenter

public static PageScaling.ScaleOffsetAlignmentOption RightCenter

指定缩放应对齐在媒体右边缘的中心。

TopCenter

public static PageScaling.ScaleOffsetAlignmentOption TopCenter

指定缩放应对齐在媒体上边缘的中心。

TopLeft

public static PageScaling.ScaleOffsetAlignmentOption TopLeft

指定缩放应对齐在媒体的左上角。

TopRight

public static PageScaling.ScaleOffsetAlignmentOption TopRight

指定缩放应对齐在媒体的右上角。

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