DocumentPageRanges

Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.ParameterInit, com.aspose.xps.metadata.StringParameterInit

All Implemented Interfaces: com.aspose.xps.metadata.IJobPrintTicketItem, com.aspose.xps.metadata.IDocumentPrintTicketItem

public final class DocumentPageRanges extends StringParameterInit implements IJobPrintTicketItem, IDocumentPrintTicketItem

Describes the output range of the document in pages. The parameter value must conform to the following structure: - PageRangeText: “PageRange” or “PageRange,PageRange” - PageRange: “PageNumber” or “PageNumber-PageNumber” - PageNumber: 1 to N, where N is the number of pages in the document.If PageNumber > N, then PageNumber = N. Whitespace in the string should be ignored. https://docs.microsoft.com/en-us/windows/win32/printdocs/documentpageranges

Constructors

ConstructorDescription
DocumentPageRanges(String value)Creates a new instance.

Methods

MethodDescription
equals(Object arg0)
getClass()
getMaxLength()For string values, defines the shortest longest string.
getMinLength()For string values, defines the shortest allowed string.
getName()Gets the element name.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

DocumentPageRanges(String value)

public DocumentPageRanges(String value)

Creates a new instance.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe parameter value.

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

getMaxLength()

public int getMaxLength()

For string values, defines the shortest longest string.

Returns: int - The longest allowed string.

getMinLength()

public int getMinLength()

For string values, defines the shortest allowed string.

Returns: int - The shortest allowed string.

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