Class Property
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)
คลาสที่ใช้ในการดำเนินการ Property
ของ PrintTicket ที่เป็นมาตรฐาน
คลาสพื้นฐานสำหรับคุณสมบัติที่กำหนดโดยสคีมา
องค์ประกอบ Property
ประกาศอุปกรณ์ การจัดรูปแบบงาน หรือคุณสมบัติที่เกี่ยวข้องอื่น ๆ
ซึ่งชื่อจะถูกกำหนดโดยแอตทริบิวต์ชื่อของมัน องค์ประกอบ Aspose.Page.XPS.XpsMetadata.Value ถูกใช้เพื่อกำหนดค่าให้กับ Property
Property
อาจมีความซับซ้อน โดยอาจประกอบด้วยซับพร็อพเพอร์ตี้หลายตัว
ซับพร็อพเพอร์ตี้จะถูกแทนที่ด้วยองค์ประกอบ Property
https://docs.microsoft.com/en-us/windows/win32/printdocs/property
public class Property : CompositePrintTicketElement, IPrintTicketItem, IFeatureItem, IOptionItem, IScoredPropertyItem, IPropertyItem, IPrintTicketElementChild
การสืบทอด
object ← PrintTicketElement ← CompositePrintTicketElement ← Property
ที่สืบทอดมา
InputBin.FeedDirection, InputBin.FeedFace, IDProperty, JobOptimalDestinationColorProfile, NameProperty, PageImageableSize, SelectionType, URIProperty
การดำเนินการ
IPrintTicketItem, IFeatureItem, IOptionItem, IScoredPropertyItem, IPropertyItem, IPrintTicketElementChild
สมาชิกที่สืบทอดมา
PrintTicketElement.Name, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
ตัวสร้าง
Property(string, Property, params IPropertyItem[])
สร้างอินสแตนซ์ใหม่
public Property(string name, Property property, params IPropertyItem[] items)
พารามิเตอร์
name
string
ชื่อคุณสมบัติ
property
Property
อินสแตนซ์ Aspose.Page.XPS.XpsMetadata.Property ที่จำเป็น
items
IPropertyItem[]
อาร์เรย์ที่ไม่จำกัดของอินสแตนซ์ Aspose.Page.XPS.XpsMetadata.IPropertyItem
แต่ละตัวต้องเป็น Aspose.Page.XPS.XpsMetadata.Property หรือ Aspose.Page.XPS.XpsMetadata.Value
Property(string, Value, params IPropertyItem[])
สร้างอินสแตนซ์ใหม่
public Property(string name, Value value, params IPropertyItem[] items)
พารามิเตอร์
name
string
ชื่อคุณสมบัติ
value
Value
อินสแตนซ์ Aspose.Page.XPS.XpsMetadata.Value ที่จำเป็น
items
IPropertyItem[]
อาร์เรย์ที่ไม่จำกัดของอินสแตนซ์ Aspose.Page.XPS.XpsMetadata.IPropertyItem
แต่ละตัวต้องเป็น Aspose.Page.XPS.XpsMetadata.Property หรือ Aspose.Page.XPS.XpsMetadata.Value