Class DocumentPageRanges
Class DocumentPageRanges
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)
Mô tả phạm vi đầu ra của tài liệu theo trang. Giá trị tham số phải tuân theo cấu trúc sau:
- PageRangeText: “PageRange” hoặc “PageRange,PageRange”
- PageRange: “PageNumber” hoặc “PageNumber-PageNumber”
- PageNumber: 1 đến N, trong đó N là số trang trong tài liệu. Nếu PageNumber > N, thì PageNumber = N.
Khoảng trắng trong chuỗi sẽ bị bỏ qua.
https://docs.microsoft.com/en-us/windows/win32/printdocs/documentpageranges
public sealed class DocumentPageRanges : StringParameterInit, IJobPrintTicketItem, IDocumentPrintTicketItem, IPrintTicketItem, IPrintTicketElementChild
Kế thừa
object ←
PrintTicketElement ←
ParameterInit ←
StringParameterInit ←
DocumentPageRanges
Triển khai
IJobPrintTicketItem,
IDocumentPrintTicketItem,
IPrintTicketItem,
IPrintTicketElementChild
Các thành viên được kế thừa
StringParameterInit.MinLength,
StringParameterInit.MaxLength,
PrintTicketElement.Name,
object.GetType(),
object.ToString(),
object.Equals(object?),
object.Equals(object?, object?),
object.ReferenceEquals(object?, object?),
object.GetHashCode()
Các hàm khởi tạo
DocumentPageRanges(string)
Tạo một thể hiện mới.
public DocumentPageRanges(string value)
Tham số
value
string
Giá trị tham số.