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
Describes the ScaleOffsetAlignment features options. Specifies the alignment of the scaled content.
Fields
Field | Description |
---|---|
BottomCenter | Specifies the scaling should be aligned on the center of the bottom edge of the media. |
BottomLeft | Specifies the scaling should be aligned on the bottom left corner of the media. |
BottomRight | Specifies the scaling should be aligned on the bottom right corner of the media. |
Center | Specifies the scaling should be centered on the media. |
LeftCenter | Specifies the scaling should be aligned on the center of the left edge of the media. |
RightCenter | Specifies the scaling should be aligned on the center of the right edge of the media. |
TopCenter | Specifies the scaling should be aligned on the center of the top edge of the media. |
TopLeft | Specifies the scaling should be aligned on the top left corner of the media. |
TopRight | Specifies the scaling should be aligned on the top right corner of the media. |
Methods
Method | Description |
---|---|
add(IOptionItem[] items) | Adds a list of items to the end of this option’s item list. |
equals(Object arg0) | |
getClass() | |
getName() | Gets the element name. |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
BottomCenter
public static PageScaling.ScaleOffsetAlignmentOption BottomCenter
Specifies the scaling should be aligned on the center of the bottom edge of the media.
BottomLeft
public static PageScaling.ScaleOffsetAlignmentOption BottomLeft
Specifies the scaling should be aligned on the bottom left corner of the media.
BottomRight
public static PageScaling.ScaleOffsetAlignmentOption BottomRight
Specifies the scaling should be aligned on the bottom right corner of the media.
Center
public static PageScaling.ScaleOffsetAlignmentOption Center
Specifies the scaling should be centered on the media.
LeftCenter
public static PageScaling.ScaleOffsetAlignmentOption LeftCenter
Specifies the scaling should be aligned on the center of the left edge of the media.
RightCenter
public static PageScaling.ScaleOffsetAlignmentOption RightCenter
Specifies the scaling should be aligned on the center of the right edge of the media.
TopCenter
public static PageScaling.ScaleOffsetAlignmentOption TopCenter
Specifies the scaling should be aligned on the center of the top edge of the media.
TopLeft
public static PageScaling.ScaleOffsetAlignmentOption TopLeft
Specifies the scaling should be aligned on the top left corner of the media.
TopRight
public static PageScaling.ScaleOffsetAlignmentOption TopRight
Specifies the scaling should be aligned on the top right corner of the media.
add(IOptionItem[] items)
public void add(IOptionItem[] items)
Adds a list of items to the end of this option’s item list. Each one must be a ScoredProperty or a Property instance.
Parameters:
Parameter | Type | Description |
---|---|---|
items | IOptionItem[] | List of items to add. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName()
public String getName()
Gets the element name.
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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |