Class UserProperties
Το όνομα: Aspose.Page Συγκέντρωση: Aspose.Page.dll (25.4.0)
Ειδική κατηγορία ιδιοκτησίας που επιτρέπει τη ρύθμιση τυποποιημένων ιδιοτήτων καιΕπιτρέπει επίσης τη συλλογή δύο προεπιλεγμένων αντικειμένων ιδιοκτησίαςνα αναζητηθεί εάν αυτό το αντικείμενο ιδιοκτησίας δεν περιέχει την ιδιοκτησία.
public class UserProperties : Dictionary<string, object="">, IDictionary<string, object="">, ICollection<keyvaluepair<string, object="">>, IDictionary, ICollection, IReadOnlyDictionary<string, object="">, IReadOnlyCollection<keyvaluepair<string, object="">>, IEnumerable<keyvaluepair<string, object="">>, IEnumerable, ISerializable, IDeserializationCallback
Inheritance
object ← Dictionary<string, object=""> ← UserProperties
Implements
IDictionary<string, object=""> , ICollection<keyvaluepair<string, object="">> , IDictionary , ICollection , IReadOnlyDictionary<string, object=""> , IReadOnlyCollection<keyvaluepair<string, object="">> , IEnumerable<keyvaluepair<string, object="">> , IEnumerable , ISerializable , IDeserializationCallback
Κληρονομημένα μέλη
Dictionary<string, object="">.Add(string, object) , Dictionary<string, object="">.Clear() , Dictionary<string, object="">.ContainsKey(string) , Dictionary<string, object="">.ContainsValue(object) , Dictionary<string, object="">.GetEnumerator() , Dictionary<string, object="">.OnDeserialization(object?) , Dictionary<string, object="">.Remove(string) , Dictionary<string, object="">.Remove(string, out object) , Dictionary<string, object="">.TryGetValue(string, out object) , Dictionary<string, object="">.TryAdd(string, object) , Dictionary<string, object="">.EnsureCapacity(int) , Dictionary<string, object="">.TrimExcess() , Dictionary<string, object="">.TrimExcess(int) , Dictionary<string, object="">.Comparer , Dictionary<string, object="">.Count , Dictionary<string, object="">.Keys , Dictionary<string, object="">.Values , Dictionary<string, object="">.this[string] , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
UserProperties()
Αρχίζει μια κενή περίπτωση της κατηγορίας UserProperties.
public UserProperties()
UserProperties(Ηλεκτρονικό λεξικό, αντικείμενο="">)
Αρχίζει μία από τις κατηγορίες UserProperties με προεπιλεγμένες τιμές.
public UserProperties(Dictionary<string, object=""> defaults)
Parameters
defaults
Dictionary
< ·
string
, object
>
Οι αξίες των προεπιλεγμένων ιδιοτήτων.
UserProperties(Ηλεκτρονικό λεξικό, αντικείμενο=«">, Λεξικό<string, αντικείμενο="">)
Κατασκευάζει UserProperties με έναν πίνακα defaults και altDefaults,που αναζητούνται με αυτή τη σειρά.
public UserProperties(Dictionary<string, object=""> defaults, Dictionary<string, object=""> altDefaults)
Parameters
defaults
Dictionary
< ·
string
, object
>
Οι αξίες των προεπιλεγμένων ιδιοτήτων.
altDefaults
Dictionary
< ·
string
, object
>
Εναλλακτικές ιδιότητες αξίες.
Fields
ΑΛΤΔΕΦΑΛΑΙΟ
Εναλλακτικές ιδιότητες αξίες.
protected Dictionary<string, object=""> altDefaults
Αξία πεδίου
Dictionary < · string , object >
Properties
Properties
Αντιγραφή των ιδιοτήτων, συμπεριλαμβανομένων των υπολειμμάτων τους σε αυτό το UserProperties
public virtual Dictionary<string, object=""> Properties { set; }
Αξία ιδιοκτησίας
Dictionary < · string , object >
Methods
GetProperty(Σύνδεσμος)
Κέρδισε την αξία της ιδιοκτησίας.
public virtual string GetProperty(string key)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetProperty(Σύνδεσμος, Σύνδεσμος)
Εάν η ζητούμενη περιουσία απουσιάζει, επιστρέφει την προεπιλεγμένη αξία.
public virtual string GetProperty(string key, string defValue)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
defValue
string
υποτιθέμενη αξία της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyColor(Σύνδεσμος)
λαμβάνει την αξία της ιδιοκτησίας χρωμάτων.
public virtual Color GetPropertyColor(string key)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyColor(Σύνδεσμος, Χρώμα)
Αν η ζητούμενη ιδιοκτησία απουσιάζει, επιστρέφει την προεπιλεγμένη αξία.
public virtual Color GetPropertyColor(string key, Color defValue)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
defValue
Color
υποτιθέμενη αξία της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyDouble(Σύνδεσμος)
Έχει διπλή αξία ιδιοκτησίας.
public virtual double GetPropertyDouble(string key)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyDouble(Δίδυμος, Δίδυμος)
Αποκτά διπλή αξία ιδιοκτησίας.Εάν η ζητούμενη ιδιοκτησία απουσιάζει, επιστρέφει την προεπιλεγμένη αξία.
public virtual double GetPropertyDouble(string key, double defValue)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
defValue
double
υποτιθέμενη αξία της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyFloat(Σύνδεσμος)
Κέρδισε την αξία της ιδιοκτησίας.
public virtual float GetPropertyFloat(string key)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyFloat(Πλατφόρμα, Float)
Εάν η απαιτούμενη περιουσία απουσιάζει, επιστρέφει την προεπιλεγμένη αξία.
public virtual float GetPropertyFloat(string key, float defValue)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
defValue
float
υποτιθέμενη αξία της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyInt(Σύνδεσμος)
λαμβάνει πλήρη αξία ιδιοκτησίας.
public virtual int GetPropertyInt(string key)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyInt(Σύνδεσμος, int)
Εάν η ζητούμενη περιουσία απουσιάζει, επιστρέφει την προεπιλεγμένη αξία.
public virtual int GetPropertyInt(string key, int defValue)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
defValue
int
υποτιθέμενη αξία της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyMargins(Σύνδεσμος)
Αποκτά περιθώρια αξίας ιδιοκτησίας.
public virtual Margins GetPropertyMargins(string key)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyMargins(Σύνδεσμος, Margins)
Αν το ζητούμενο περιουσιακό στοιχείο απουσιάζει, επιστρέφει την προεπιλεγμένη αξία.
public virtual Margins GetPropertyMargins(string key, Margins defValue)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
defValue
Margins
υποτιθέμενη αξία της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyMatrix(Σύνδεσμος)
Αποκτά την αξία της ιδιοκτησίας του Matrix.
public virtual Matrix GetPropertyMatrix(string key)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyMatrix(Σύνδεσμος, Matrix)
Εάν η ζητούμενη περιουσία απουσιάζει, επιστρέφει την προεπιλεγμένη αξία.
public virtual Matrix GetPropertyMatrix(string key, Matrix defValue)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
defValue
Matrix
υποτιθέμενη αξία της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyRectangle(Σύνδεσμος)
Κέρδισε την αξία της ακίνητης ιδιοκτησίας.
public virtual RectangleF GetPropertyRectangle(string key)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyRectangle(Σύνδεση, RectangleF)
Εάν η ζητούμενη περιουσία απουσιάζει, επιστρέφει την προεπιλεγμένη αξία.
public virtual RectangleF GetPropertyRectangle(string key, RectangleF defValue)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
defValue
RectangleF
υποτιθέμενη αξία της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertySize(Σύνδεσμος)
Αξίζει το μέγεθος της ιδιοκτησίας.
public virtual Size GetPropertySize(string key)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertySize(Σύνδεσμος, Μέγεθος)
Εάν η ζητούμενη ιδιοκτησία απουσιάζει, επιστρέφει την προεπιλεγμένη αξία.
public virtual Size GetPropertySize(string key, Size defValue)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
defValue
Size
υποτιθέμενη αξία της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
GetPropertyStringArray(Σύνδεσμος)
Κέρδισε την αξία της ιδιοκτησίας.
public virtual string[] GetPropertyStringArray(string key)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
Returns
string [ ]
Αξία της ιδιοκτησίας.
GetPropertyStringArray(Σύνδεσμος, Σύνδεσμος[])
Εάν η ζητούμενη περιουσία απουσιάζει, επιστρέφει την προεπιλεγμένη αξία.
public virtual string[] GetPropertyStringArray(string key, string[] defValue)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
defValue
string
[ ]
υποτιθέμενη αξία της ιδιοκτησίας.
Returns
string [ ]
Αξία της ιδιοκτησίας.
IsProperty(Σύνδεσμος)
Κέρδισε την αξία της ιδιοκτησίας του Boolean.
public virtual bool IsProperty(string key)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
IsProperty(Στέλινγκ, Μπόλ)
Εάν η ζητούμενη περιουσία απουσιάζει, επιστρέφει την προεπιλεγμένη αξία.
public virtual bool IsProperty(string key, bool defValue)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
defValue
bool
υποτιθέμενη αξία της ιδιοκτησίας.
Returns
Αξία της ιδιοκτησίας.
PrintProperties()
public virtual void PrintProperties()
PropertyNames()
Επιστρέφει τα ονόματα ιδιοκτησίας.
public virtual IEnumerator<string> PropertyNames()
Returns
IEnumerator < · string >
Αριθμός των ονομάτων ιδιοκτησίας.
SetProperty(Σύνδεσμος, Σύνδεσμος)
Σύνδεση της αξίας της ιδιοκτησίας.
public virtual object SetProperty(string key, string value)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
value
string
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Σύνδεσμος, Σύνδεσμος[])
Εισάγετε την αξία ιδιοκτησίας string array.
public virtual object SetProperty(string key, string[] value)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
value
string
[ ]
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Ηλεκτρονικό λεξικό, αντικείμενο=«>, string, στυλ[])
Ρυθμίστε την αξία της ιδιοκτησίας της σειράς σε έναν πίνακα προσδιορισμένων ιδιοτήτων.
public static object SetProperty(Dictionary<string, object=""> properties, string key, string[] value)
Parameters
properties
Dictionary
< ·
string
, object
>
Ο πίνακας των ιδιοτήτων.
key
string
Το όνομα της ιδιοκτησίας.
value
string
[ ]
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Σύνδεσμος, Χρώμα)
Δείχνει την αξία της ιδιοκτησίας χρώματος.
public virtual object SetProperty(string key, Color value)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
value
Color
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Ηλεκτρονικό λεξικό, αντικείμενο=«">, στυλ, χρώμα)
Ρυθμίστε την τιμή ιδιοκτησίας χρώματος στον πίνακα προσδιορισμένων ιδιοτήτων.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Color value)
Parameters
properties
Dictionary
< ·
string
, object
>
Ο πίνακας των ιδιοτήτων.
key
string
Το όνομα της ιδιοκτησίας.
value
Color
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Σύνδεσμος, Rectangle)
Δημιουργία αξίας ακρογωνιαίου ιδιοκτησίας.
public virtual object SetProperty(string key, Rectangle value)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
value
Rectangle
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Ηλεκτρονικό λεξικό, αντικείμενο=«">, στυλ, Rectangle)
Καθορίστε την αξία της ακίνητης περιουσίας σε συγκεκριμένο πίνακα περιουσιακών στοιχείων.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Rectangle value)
Parameters
properties
Dictionary
< ·
string
, object
>
Ο πίνακας των ιδιοτήτων.
key
string
Το όνομα της ιδιοκτησίας.
value
Rectangle
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Σύνδεσμος, Margins)
Ορισμός περιθωρίων αξίας ιδιοκτησίας.
public virtual object SetProperty(string key, Margins value)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
value
Margins
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Ηλεκτρονικό λεξικό, αντικείμενο=«>, Σύνδεσμος, Margins)
Προσθέστε την αξία περιουσιακών περιουσιακών περιουσιακών περιουσιακών περιουσιακών περιουσιακών περιουσιακών περιουσιακών περιουσιακών περιουσιακών περιουσιακών περιουσιακών στοιχείων.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Margins value)
Parameters
properties
Dictionary
< ·
string
, object
>
Ο πίνακας των ιδιοτήτων.
key
string
Το όνομα της ιδιοκτησίας.
value
Margins
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Σύνδεσμος, Μέγεθος)
Μεγαλώνει την αξία της ιδιοκτησίας.
public virtual object SetProperty(string key, Size value)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
value
Size
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Ηλεκτρονικό λεξικό, αντικείμενο=«>, στυλ, μέγεθος)
Καθορίστε το μέγεθος της αξίας της ιδιοκτησίας στον πίνακα προσδιορισμένων ιδιοτήτων.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Size value)
Parameters
properties
Dictionary
< ·
string
, object
>
Ο πίνακας των ιδιοτήτων.
key
string
Το όνομα της ιδιοκτησίας.
value
Size
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Σύνδεσμος, int)
Δημιουργία συνολικής αξίας ιδιοκτησίας.
public virtual object SetProperty(string key, int value)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
value
int
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Ηλεκτρονικό λεξικό, αντικείμενο=«>, στυλ, int)
Προσδιορίστε την συνολική αξία ιδιοκτησίας στον πίνακα προσδιορισμένων ιδιοτήτων.
public static object SetProperty(Dictionary<string, object=""> properties, string key, int value)
Parameters
properties
Dictionary
< ·
string
, object
>
Ο πίνακας των ιδιοτήτων.
key
string
Το όνομα της ιδιοκτησίας.
value
int
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Δίδυμος, Δίδυμος)
Διπλή αξία ιδιοκτησίας.
public virtual object SetProperty(string key, double value)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
value
double
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Ηλεκτρονικό λεξικό, αντικείμενο=«>, στυλ, διπλό)
Εισάγετε διπλή αξία ιδιοκτησίας στον πίνακα προσδιορισμένων ιδιοτήτων.
public static object SetProperty(Dictionary<string, object=""> properties, string key, double value)
Parameters
properties
Dictionary
< ·
string
, object
>
Ο πίνακας των ιδιοτήτων.
key
string
Το όνομα της ιδιοκτησίας.
value
double
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Πλατφόρμα, Float)
Πληροφορίες για την αξία του πλοίου.
public virtual object SetProperty(string key, float value)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
value
float
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Ηλεκτρονικό λεξικό, αντικείμενο=«>, σφραγίδα, πλωτή)
Ρυθμίστε την αξία της περιουσίας σε έναν πίνακα προσδιορισμένων περιουσιακών στοιχείων.
public static object SetProperty(Dictionary<string, object=""> properties, string key, float value)
Parameters
properties
Dictionary
< ·
string
, object
>
Ο πίνακας των ιδιοτήτων.
key
string
Το όνομα της ιδιοκτησίας.
value
float
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Στέλινγκ, Μπόλ)
Η αξία της ιδιοκτησίας του Boolean.
public virtual object SetProperty(string key, bool value)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
value
bool
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Ηλεκτρονικό λεξικό, αντικείμενο=«Κατά στίγμα, μπολ»)
Ρυθμίστε την αξία της ιδιοκτησίας Boolean στον πίνακα προσδιορισμένων ιδιοτήτων.
public static object SetProperty(Dictionary<string, object=""> properties, string key, bool value)
Parameters
properties
Dictionary
< ·
string
, object
>
Ο πίνακας των ιδιοτήτων.
key
string
Το όνομα της ιδιοκτησίας.
value
bool
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Σύνδεσμος, Matrix)
Δημιουργήστε την αξία της ιδιοκτησίας Matrix.
public virtual object SetProperty(string key, Matrix value)
Parameters
key
string
Το όνομα της ιδιοκτησίας.
value
Matrix
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.
SetProperty(Ηλεκτρονικό λεξικό, αντικείμενο=«>, Σύνδεσμος, Matrix)
Ρυθμίστε την αξία της ιδιοκτησίας της μητρώου στον πίνακα προσδιορισμένων ιδιοτήτων.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Matrix value)
Parameters
properties
Dictionary
< ·
string
, object
>
Ο πίνακας των ιδιοτήτων.
key
string
Το όνομα της ιδιοκτησίας.
value
Matrix
Η αξία της ιδιοκτησίας.
Returns
μια ιδιοκτησία.</string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></string,></keyvaluepair<string,></keyvaluepair<string,></string,></keyvaluepair<string,></string,></string,></keyvaluepair<string,></keyvaluepair<string,></string,></keyvaluepair<string,></string,></string,>