Class Property
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)
La classe qui implémente une Property
de PrintTicket commune.
La classe de base pour toutes les propriétés définies par le schéma.
Un élément Property
déclare un appareil, un formatage de travail ou une autre propriété pertinente dont le nom est donné par son attribut name. Un élément Aspose.Page.XPS.XpsMetadata.Value est utilisé pour attribuer une valeur à la Property
.
Une Property
peut être complexe, pouvant contenir plusieurs sous-propriétés.
Les sous-propriétés sont également représentées par des éléments Property
.
https://docs.microsoft.com/en-us/windows/win32/printdocs/property
public class Property : CompositePrintTicketElement, IPrintTicketItem, IFeatureItem, IOptionItem, IScoredPropertyItem, IPropertyItem, IPrintTicketElementChild
Héritage
object ←
PrintTicketElement ←
CompositePrintTicketElement ←
Property
Dérivé
InputBin.FeedDirection,
InputBin.FeedFace,
IDProperty,
JobOptimalDestinationColorProfile,
NameProperty,
PageImageableSize,
SelectionType,
URIProperty
Implémente
IPrintTicketItem,
IFeatureItem,
IOptionItem,
IScoredPropertyItem,
IPropertyItem,
IPrintTicketElementChild
Membres hérités
PrintTicketElement.Name,
object.GetType(),
object.MemberwiseClone(),
object.ToString(),
object.Equals(object?),
object.Equals(object?, object?),
object.ReferenceEquals(object?, object?),
object.GetHashCode()
Constructeurs
Property(string, Property, params IPropertyItem[])
Crée une nouvelle instance.
public Property(string name, Property property, params IPropertyItem[] items)
Paramètres
name
string
Un nom de propriété.
property
Property
Une instance Aspose.Page.XPS.XpsMetadata.Property obligatoire.
items
IPropertyItem[]
Un tableau arbitraire d’instances Aspose.Page.XPS.XpsMetadata.IPropertyItem.
Chacune doit être une instance de Aspose.Page.XPS.XpsMetadata.Property ou de Aspose.Page.XPS.XpsMetadata.Value.
Property(string, Value, params IPropertyItem[])
Crée une nouvelle instance.
public Property(string name, Value value, params IPropertyItem[] items)
Paramètres
name
string
Un nom de propriété.
value
Value
Une instance Aspose.Page.XPS.XpsMetadata.Value obligatoire.
items
IPropertyItem[]
Un tableau arbitraire d’instances Aspose.Page.XPS.XpsMetadata.IPropertyItem.
Chacune doit être une instance de Aspose.Page.XPS.XpsMetadata.Property ou de Aspose.Page.XPS.XpsMetadata.Value.