Class Property
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)
Клас, який реалізує загальну Property
для PrintTicket.
Базовий клас для всіх властивостей, визначених схемою.
Елемент Property
оголошує пристрій, форматування завдання або іншу відповідну властивість,
ім’я якої вказується атрибутом name. Елемент 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.