DocumentPageRanges class

DocumentPageRanges class

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

Inheritance: DocumentPageRangesStringParameterInitParameterInitPrintTicketElement

The DocumentPageRanges type exposes the following members:

Constructors

NameDescription
DocumentPageRanges(value)Initializes a new instance of the DocumentPageRanges class

Properties

NameDescription
nameGets the element name.
min_lengthFor string values, defines the shortest allowed string.
max_lengthFor string values, defines the longest allowed string.

See Also