Class Property
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)
Lớp thực hiện một Property
PrintTicket chung.
Lớp cơ sở cho tất cả các thuộc tính được định nghĩa theo sơ đồ.
Một phần tử Property
khai báo một thiết bị, định dạng công việc hoặc thuộc tính liên quan khác
có tên được cho bởi thuộc tính tên của nó. Một phần tử Aspose.Page.XPS.XpsMetadata.Value được sử dụng để gán
một giá trị cho Property
.
Một Property
có thể phức tạp, có thể chứa nhiều thuộc tính con.
Các thuộc tính con cũng được đại diện bởi các phần tử Property
.
https://docs.microsoft.com/en-us/windows/win32/printdocs/property
public class Property : CompositePrintTicketElement, IPrintTicketItem, IFeatureItem, IOptionItem, IScoredPropertyItem, IPropertyItem, IPrintTicketElementChild
Kế thừa
object ←
PrintTicketElement ←
CompositePrintTicketElement ←
Property
Kế thừa
InputBin.FeedDirection,
InputBin.FeedFace,
IDProperty,
JobOptimalDestinationColorProfile,
NameProperty,
PageImageableSize,
SelectionType,
URIProperty
Thực hiện
IPrintTicketItem,
IFeatureItem,
IOptionItem,
IScoredPropertyItem,
IPropertyItem,
IPrintTicketElementChild
Các thành viên kế thừa
PrintTicketElement.Name,
object.GetType(),
object.MemberwiseClone(),
object.ToString(),
object.Equals(object?),
object.Equals(object?, object?),
object.ReferenceEquals(object?, object?),
object.GetHashCode()
Các hàm khởi tạo
Property(string, Property, params IPropertyItem[])
Tạo một thể hiện mới.
public Property(string name, Property property, params IPropertyItem[] items)
Tham số
name
string
Một tên thuộc tính.
property
Property
Một thể hiện Aspose.Page.XPS.XpsMetadata.Property bắt buộc.
items
IPropertyItem[]
Một mảng tùy ý của các thể hiện Aspose.Page.XPS.XpsMetadata.IPropertyItem.
Mỗi cái phải là một thể hiện Aspose.Page.XPS.XpsMetadata.Property hoặc một thể hiện Aspose.Page.XPS.XpsMetadata.Value.
Property(string, Value, params IPropertyItem[])
Tạo một thể hiện mới.
public Property(string name, Value value, params IPropertyItem[] items)
Tham số
name
string
Một tên thuộc tính.
value
Value
Một thể hiện Aspose.Page.XPS.XpsMetadata.Value bắt buộc.
items
IPropertyItem[]
Một mảng tùy ý của các thể hiện Aspose.Page.XPS.XpsMetadata.IPropertyItem.
Mỗi cái phải là một thể hiện Aspose.Page.XPS.XpsMetadata.Property hoặc một thể hiện Aspose.Page.XPS.XpsMetadata.Value.