PageWatermark.PageWatermarkOption

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.PageWatermark.IPageWatermarkItem

public static final class PageWatermark.PageWatermarkOption extends Option implements PageWatermark.IPageWatermarkItem

Describes the PageWatermark features options.

Constructors

ConstructorDescription
PageWatermarkOption(String optionName, PageWatermark.IPageWatermarkOptionItem[] items)Creates a new instance.
PageWatermarkOption(PageWatermark.PageWatermarkOption option)Clones this option instance.

Fields

FieldDescription
TextSpecifies a text only watermark.

Methods

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

PageWatermarkOption(String optionName, PageWatermark.IPageWatermarkOptionItem[] items)

public PageWatermarkOption(String optionName, PageWatermark.IPageWatermarkOptionItem[] items)

Creates a new instance.

Parameters:

ParameterTypeDescription
optionNamejava.lang.StringAn options name.
itemsIPageWatermarkOptionItem[]An arbitrary array of IPageWatermarkOptionItem instances.

PageWatermarkOption(PageWatermark.PageWatermarkOption option)

public PageWatermarkOption(PageWatermark.PageWatermarkOption option)

Clones this option instance.

Parameters:

ParameterTypeDescription
optionPageWatermarkOptionAn instance to clone.

Text

public static PageWatermark.PageWatermarkOption Text

Specifies a text only watermark.

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(PageWatermark.IPageWatermarkOptionItem[] items)

public PageWatermark.PageWatermarkOption add(PageWatermark.IPageWatermarkOptionItem[] items)

Adds an array of IPageWatermarkOptionItem instances to the option.

Parameters:

ParameterTypeDescription
itemsIPageWatermarkOptionItem[]An arbitrary array of IPageWatermarkOptionItem instances.

Returns: PageWatermarkOption - This options instance.

clone()

public PageWatermark.PageWatermarkOption clone()

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

Returns: PageWatermarkOption - 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()

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