PageMediaType.PageMediaTypeOption

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.PageMediaType.IPageMediaTypeItem

public static final class PageMediaType.PageMediaTypeOption extends Option implements PageMediaType.IPageMediaTypeItem

Describes the PageMediaType feature options.

Constructors

ConstructorDescription
PageMediaTypeOption(String optionName, PageMediaType.IPageMediaTypeOptionItem[] items)Creates a new instance.
PageMediaTypeOption(PageMediaType.PageMediaTypeOption option)Clones this option instance.

Fields

FieldDescription
ArchivalSpecifies archival quality media.
AutoSelectSpecifies Media would be Automatically selected.
BackPrintFilmSpecifies specialty back printing film media.
BondSpecifies standard bond media.
CardStockSpecifies standard card stock media.
ContinousSpecifies continuous feed media.
EnvelopePlainSpecifies standard envelope media.
EnvelopeWindowSpecifies windowed envelope media.
FabricSpecifies fabric media.
HighResolutionSpecifies specialty high resolution media.
LabelSpecifies label media.
MultiLayerFormSpecifies attached multi-part forms media.
MultiPartFormSpecifies separate multi-part forms media.
NoneSpecifies unknown or unlisted media.
PhotographicSpecifies standard photographic media.
PhotographicFilmSpecifies film photographic media.
PhotographicGlossySpecifies glossy photographic media.
PhotographicHighGlossSpecifies high gloss photographic media.
PhotographicMatteSpecifies matte photographic media.
PhotographicSatinSpecifies satin photographic media.
PhotographicSemiGlossSpecifies semi-gloss photographic media.
PlainSpecifies standard paper media.
ScreenSpecifies output to an output display in continuous form.
ScreenPagedSpecifies output to an output display in paged form.
StationarySpecifies specialty stationery media.
TShirtTransferSpecifies specialty T-shirt transfer media.
TabStockFullSpecifies tab stock media that is not pre-cut (single tabs).
TabStockPreCutSpecifies tab stock media that is pre-cut (multiple tabs).
TransparencySpecifies transparency media.

Methods

MethodDescription
add(IOptionItem[] items)Adds a list of items to the end of this option’s item list.
add(PageMediaType.IPageMediaTypeOptionItem[] items)Adds an array of IPageMediaTypeOptionItem instances to the option.
clone()Clones this option instance.
equals(Object arg0)
getClass()
getName()Gets the element name.
hashCode()
notify()
notifyAll()
setWeight(int weight)Sets a Weight scored property value.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

PageMediaTypeOption(String optionName, PageMediaType.IPageMediaTypeOptionItem[] items)

public PageMediaTypeOption(String optionName, PageMediaType.IPageMediaTypeOptionItem[] items)

Creates a new instance.

Parameters:

ParameterTypeDescription
optionNamejava.lang.StringAn options name.
itemsIPageMediaTypeOptionItem[]An arbitrary array of IPageMediaTypeOptionItem instances.

PageMediaTypeOption(PageMediaType.PageMediaTypeOption option)

public PageMediaTypeOption(PageMediaType.PageMediaTypeOption option)

Clones this option instance.

Parameters:

ParameterTypeDescription
optionPageMediaTypeOptionAn instance to clone.

Archival

public static PageMediaType.PageMediaTypeOption Archival

Specifies archival quality media.

AutoSelect

public static PageMediaType.PageMediaTypeOption AutoSelect

Specifies Media would be Automatically selected.

BackPrintFilm

public static PageMediaType.PageMediaTypeOption BackPrintFilm

Specifies specialty back printing film media.

Bond

public static PageMediaType.PageMediaTypeOption Bond

Specifies standard bond media.

CardStock

public static PageMediaType.PageMediaTypeOption CardStock

Specifies standard card stock media.

Continous

public static PageMediaType.PageMediaTypeOption Continous

Specifies continuous feed media.

EnvelopePlain

public static PageMediaType.PageMediaTypeOption EnvelopePlain

Specifies standard envelope media.

EnvelopeWindow

public static PageMediaType.PageMediaTypeOption EnvelopeWindow

Specifies windowed envelope media.

Fabric

public static PageMediaType.PageMediaTypeOption Fabric

Specifies fabric media.

HighResolution

public static PageMediaType.PageMediaTypeOption HighResolution

Specifies specialty high resolution media.

Label

public static PageMediaType.PageMediaTypeOption Label

Specifies label media.

MultiLayerForm

public static PageMediaType.PageMediaTypeOption MultiLayerForm

Specifies attached multi-part forms media.

MultiPartForm

public static PageMediaType.PageMediaTypeOption MultiPartForm

Specifies separate multi-part forms media.

None

public static PageMediaType.PageMediaTypeOption None

Specifies unknown or unlisted media.

Photographic

public static PageMediaType.PageMediaTypeOption Photographic

Specifies standard photographic media.

PhotographicFilm

public static PageMediaType.PageMediaTypeOption PhotographicFilm

Specifies film photographic media.

PhotographicGlossy

public static PageMediaType.PageMediaTypeOption PhotographicGlossy

Specifies glossy photographic media.

PhotographicHighGloss

public static PageMediaType.PageMediaTypeOption PhotographicHighGloss

Specifies high gloss photographic media.

PhotographicMatte

public static PageMediaType.PageMediaTypeOption PhotographicMatte

Specifies matte photographic media.

PhotographicSatin

public static PageMediaType.PageMediaTypeOption PhotographicSatin

Specifies satin photographic media.

PhotographicSemiGloss

public static PageMediaType.PageMediaTypeOption PhotographicSemiGloss

Specifies semi-gloss photographic media.

Plain

public static PageMediaType.PageMediaTypeOption Plain

Specifies standard paper media.

Screen

public static PageMediaType.PageMediaTypeOption Screen

Specifies output to an output display in continuous form.

ScreenPaged

public static PageMediaType.PageMediaTypeOption ScreenPaged

Specifies output to an output display in paged form.

Stationary

public static PageMediaType.PageMediaTypeOption Stationary

Specifies specialty stationery media.

TShirtTransfer

public static PageMediaType.PageMediaTypeOption TShirtTransfer

Specifies specialty T-shirt transfer media.

TabStockFull

public static PageMediaType.PageMediaTypeOption TabStockFull

Specifies tab stock media that is not pre-cut (single tabs).

TabStockPreCut

public static PageMediaType.PageMediaTypeOption TabStockPreCut

Specifies tab stock media that is pre-cut (multiple tabs).

Transparency

public static PageMediaType.PageMediaTypeOption Transparency

Specifies transparency 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:

ParameterTypeDescription
itemsIOptionItem[]List of items to add.

add(PageMediaType.IPageMediaTypeOptionItem[] items)

public PageMediaType.PageMediaTypeOption add(PageMediaType.IPageMediaTypeOptionItem[] items)

Adds an array of IPageMediaTypeOptionItem instances to the option.

Parameters:

ParameterTypeDescription
itemsIPageMediaTypeOptionItem[]An arbitrary array of IPageMediaTypeOptionItem instances.

Returns: PageMediaTypeOption - This options instance.

clone()

public PageMediaType.PageMediaTypeOption clone()

Clones this option instance. The shortcut to the cloneing constructor.

Returns: PageMediaTypeOption - The clone of this option instance.

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

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()

setWeight(int weight)

public PageMediaType.PageMediaTypeOption setWeight(int weight)

Sets a Weight scored property value.

Parameters:

ParameterTypeDescription
weightintA Weight scored property value.

Returns: PageMediaTypeOption - This option instance.

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