PageMediaColor.PageMediaColorOption

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

public static final class PageMediaColor.PageMediaColorOption extends Option

Describes the PageMediaColor feature options.

Fields

FieldDescription
BlackBlack.
BlueBlue.
BrownBrown.
GoldGold.
GoldenRodGolden rod.
GrayGray.
GreenGreen.
IvoryIvory.
NoColorNo color.
OrangeOrange.
PinkPink.
RedRed.
SilverSilver.
TurquoiseTurquoise.
VioletViolet.
WhiteWhite.
YellowYellow.

Methods

MethodDescription
add(IOptionItem[] items)Adds a list of items to the end of this option’s item list.
equals(Object arg0)
getClass()
getCustom(String mediaColorsRGB)Specifies a custom page color.
getName()Gets the element name.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Black

public static PageMediaColor.PageMediaColorOption Black

Black.

Blue

public static PageMediaColor.PageMediaColorOption Blue

Blue.

Brown

public static PageMediaColor.PageMediaColorOption Brown

Brown.

Gold

public static PageMediaColor.PageMediaColorOption Gold

Gold.

GoldenRod

public static PageMediaColor.PageMediaColorOption GoldenRod

Golden rod.

Gray

public static PageMediaColor.PageMediaColorOption Gray

Gray.

Green

public static PageMediaColor.PageMediaColorOption Green

Green.

Ivory

public static PageMediaColor.PageMediaColorOption Ivory

Ivory.

NoColor

public static PageMediaColor.PageMediaColorOption NoColor

No color.

Orange

public static PageMediaColor.PageMediaColorOption Orange

Orange.

Pink

public static PageMediaColor.PageMediaColorOption Pink

Pink.

Red

public static PageMediaColor.PageMediaColorOption Red

Red.

Silver

public static PageMediaColor.PageMediaColorOption Silver

Silver.

Turquoise

public static PageMediaColor.PageMediaColorOption Turquoise

Turquoise.

Violet

public static PageMediaColor.PageMediaColorOption Violet

Violet.

White

public static PageMediaColor.PageMediaColorOption White

White.

Yellow

public static PageMediaColor.PageMediaColorOption Yellow

Yellow.

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:

ParameterTypeDescription
itemsIOptionItem[]List of items to add.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCustom(String mediaColorsRGB)

public static PageMediaColor.PageMediaColorOption getCustom(String mediaColorsRGB)

Specifies a custom page color.

Parameters:

ParameterTypeDescription
mediaColorsRGBjava.lang.StringThe page color.

Returns: PageMediaColorOption - The option element for a custom color.

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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int