DocumentPrintTicket

Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicket

public final class DocumentPrintTicket extends PrintTicket

The class that incapsulates a document-level print ticket.

Constructors

ConstructorDescription
DocumentPrintTicket(IDocumentPrintTicketItem[] items)Creates a document-level print ticket instance.

Methods

MethodDescription
add(IDocumentPrintTicketItem[] items)Adds an array of items to the end of this PrintTicket item list.
equals(Object arg0)
getClass()
hashCode()
iterator()Returns the print ticket item names iterator.
notify()
notifyAll()
remove(String[] names)Removes an item from this PrintTicket item list.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

DocumentPrintTicket(IDocumentPrintTicketItem[] items)

public DocumentPrintTicket(IDocumentPrintTicketItem[] items)

Creates a document-level print ticket instance.

Parameters:

ParameterTypeDescription
itemsIDocumentPrintTicketItem[]An arbitrary array of IDocumentPrintTicketItem instances. Each one must be a Feature , a ParameterInit or a Property instance.

add(IDocumentPrintTicketItem[] items)

public void add(IDocumentPrintTicketItem[] items)

Adds an array of items to the end of this PrintTicket item list. Each one may be a Feature , an Option or a Property instance.

Parameters:

ParameterTypeDescription
itemsIDocumentPrintTicketItem[]An array 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

hashCode()

public native int hashCode()

Returns: int

iterator()

public Iterator<String> iterator()

Returns the print ticket item names iterator.

Returns: java.util.Iterator<java.lang.String> - Returns iterator for the list.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

remove(String[] names)

public void remove(String[] names)

Removes an item from this PrintTicket item list.

Parameters:

ParameterTypeDescription
namesjava.lang.String[]An array of item names.

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