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
Constructor | Description |
---|---|
PageMediaTypeOption(String optionName, PageMediaType.IPageMediaTypeOptionItem[] items) | Creates a new instance. |
PageMediaTypeOption(PageMediaType.PageMediaTypeOption option) | Clones this option instance. |
Fields
Field | Description |
---|---|
Archival | Specifies archival quality media. |
AutoSelect | Specifies Media would be Automatically selected. |
BackPrintFilm | Specifies specialty back printing film media. |
Bond | Specifies standard bond media. |
CardStock | Specifies standard card stock media. |
Continous | Specifies continuous feed media. |
EnvelopePlain | Specifies standard envelope media. |
EnvelopeWindow | Specifies windowed envelope media. |
Fabric | Specifies fabric media. |
HighResolution | Specifies specialty high resolution media. |
Label | Specifies label media. |
MultiLayerForm | Specifies attached multi-part forms media. |
MultiPartForm | Specifies separate multi-part forms media. |
None | Specifies unknown or unlisted media. |
Photographic | Specifies standard photographic media. |
PhotographicFilm | Specifies film photographic media. |
PhotographicGlossy | Specifies glossy photographic media. |
PhotographicHighGloss | Specifies high gloss photographic media. |
PhotographicMatte | Specifies matte photographic media. |
PhotographicSatin | Specifies satin photographic media. |
PhotographicSemiGloss | Specifies semi-gloss photographic media. |
Plain | Specifies standard paper media. |
Screen | Specifies output to an output display in continuous form. |
ScreenPaged | Specifies output to an output display in paged form. |
Stationary | Specifies specialty stationery media. |
TShirtTransfer | Specifies specialty T-shirt transfer media. |
TabStockFull | Specifies tab stock media that is not pre-cut (single tabs). |
TabStockPreCut | Specifies tab stock media that is pre-cut (multiple tabs). |
Transparency | Specifies transparency media. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
optionName | java.lang.String | An options name. |
items | IPageMediaTypeOptionItem[] | An arbitrary array of IPageMediaTypeOptionItem instances. |
PageMediaTypeOption(PageMediaType.PageMediaTypeOption option)
public PageMediaTypeOption(PageMediaType.PageMediaTypeOption option)
Clones this option instance.
Parameters:
Parameter | Type | Description |
---|---|---|
option | PageMediaTypeOption | An 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:
Parameter | Type | Description |
---|---|---|
items | IOptionItem[] | 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:
Parameter | Type | Description |
---|---|---|
items | IPageMediaTypeOptionItem[] | 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:
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()
setWeight(int weight)
public PageMediaType.PageMediaTypeOption setWeight(int weight)
Sets a Weight scored property value.
Parameters:
Parameter | Type | Description |
---|---|---|
weight | int | A 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:
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 |