PageResolution.PageResolutionOption

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.PageResolution.IPageResolutionItem

public static final class PageResolution.PageResolutionOption extends Option implements PageResolution.IPageResolutionItem

Describes the PageResolution features options.

Constructors

ConstructorDescription
PageResolutionOption(String optionName, PageResolution.IPageResolutionOptionItem[] items)Creates a new instance.

Methods

MethodDescription
add(IOptionItem[] items)Adds a list of items to the end of this option’s item list.
add(PageResolution.IPageResolutionOptionItem[] items)Adds an array of IPageResolutionOptionItem instances to the option.
equals(Object arg0)
getClass()
getName()Gets the element name.
hashCode()
notify()
notifyAll()
setResolutionX(int resolutionX)Sets a ResolutionX scored property value.
setResolutionY(int resolutionY)Sets a ResolutionY scored property value.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

PageResolutionOption(String optionName, PageResolution.IPageResolutionOptionItem[] items)

public PageResolutionOption(String optionName, PageResolution.IPageResolutionOptionItem[] items)

Creates a new instance.

Parameters:

ParameterTypeDescription
optionNamejava.lang.StringAn options name.
itemsIPageResolutionOptionItem[]An arbitrary array of IPageResolutionOptionItem instances.

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(PageResolution.IPageResolutionOptionItem[] items)

public PageResolution.PageResolutionOption add(PageResolution.IPageResolutionOptionItem[] items)

Adds an array of IPageResolutionOptionItem instances to the option.

Parameters:

ParameterTypeDescription
itemsIPageResolutionOptionItem[]An arbitrary array of IPageResolutionOptionItem instances.

Returns: PageResolutionOption - This options 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()

setResolutionX(int resolutionX)

public PageResolution.PageResolutionOption setResolutionX(int resolutionX)

Sets a ResolutionX scored property value.

Parameters:

ParameterTypeDescription
resolutionXintA ResolutionX scored property value.

Returns: PageResolutionOption - This option instance.

setResolutionY(int resolutionY)

public PageResolution.PageResolutionOption setResolutionY(int resolutionY)

Sets a ResolutionY scored property value.

Parameters:

ParameterTypeDescription
resolutionYintA ResolutionY scored property value.

Returns: PageResolutionOption - 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