Class UserProperties
Le nom : Aspose.Page Assemblée : Aspose.Page.dll (25.5.0)
Classe di proprietà speciale che consente di impostare proprietà tipizzate eritorno. consente anche la cattura di due oggetti di proprietà predefinitaper essere ricercato se questo oggetto di proprietà non contiene la proprietà.
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, IDeserializationCallbackInheritance
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
I membri ereditari
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()
Inizia una instanza vuota della classe UserProperties.
public UserProperties()UserProperties(Dictionnaire <string, objet=» » »)
Inizializza una classe UserProperties con valori predefiniti.
public UserProperties(Dictionary<string, object=""> defaults)Parameters
defaults Dictionary
di <
string
, object
>
Valori di proprietà predefinite.
UserProperties(Dictionnaire <string, objet=«">, Dictionnaire<string, objet=» » »)
Costruisce Proprietà utente con una tabella di default e altDefaults,che sono ricercati in tale ordine.
public UserProperties(Dictionary<string, object=""> defaults, Dictionary<string, object=""> altDefaults)Parameters
defaults Dictionary
di <
string
, object
>
Valori di proprietà predefinite.
altDefaults Dictionary
di <
string
, object
>
Valori di proprietà alternative.
Fields
Les défauts
Valori di proprietà alternative.
protected Dictionary<string, object=""> altDefaultsValore di campo
Dictionary di < string , object >
Properties
Properties
Copia le proprietà, compresi i loro default in questa proprietà utente
public virtual Dictionary<string, object=""> Properties { set; }Valore di proprietà
Dictionary di < string , object >
Methods
GetProperty(Le string)
Riceve il valore della proprietà.
public virtual string GetProperty(string key)Parameters
key string
Il nome della proprietà.
Returns
Valore della proprietà.
GetProperty(String et String)
Se la proprietà richiesta è assente, restituisce il valore predefinito fornito.
public virtual string GetProperty(string key, string defValue)Parameters
key string
Il nome della proprietà.
defValue string
Valore default della proprietà.
Returns
Valore della proprietà.
GetPropertyColor(Le string)
Riceve il valore della proprietà colorata.
public virtual Color GetPropertyColor(string key)Parameters
key string
Il nome della proprietà.
Returns
Valore della proprietà.
GetPropertyColor(Couleur, couleur)
Se la proprietà richiesta è assente, ritorna il valore predefinito fornito.
public virtual Color GetPropertyColor(string key, Color defValue)Parameters
key string
Il nome della proprietà.
defValue Color
Valore default della proprietà.
Returns
Valore della proprietà.
GetPropertyDouble(Le string)
Riceve il doppio valore immobiliare.
public virtual double GetPropertyDouble(string key)Parameters
key string
Il nome della proprietà.
Returns
Valore della proprietà.
GetPropertyDouble(Télécharger, double)
Riceve il doppio valore della proprietà.Se la proprietà richiesta è assente, ritorna il valore predefinito fornito.
public virtual double GetPropertyDouble(string key, double defValue)Parameters
key string
Il nome della proprietà.
defValue double
Valore default della proprietà.
Returns
Valore della proprietà.
GetPropertyFloat(Le string)
Riceve il valore della proprietà.
public virtual float GetPropertyFloat(string key)Parameters
key string
Il nome della proprietà.
Returns
Valore della proprietà.
GetPropertyFloat(Flèche, Flèche)
Se la proprietà richiesta è assente, restituisce il valore predefinito fornito.
public virtual float GetPropertyFloat(string key, float defValue)Parameters
key string
Il nome della proprietà.
defValue float
Valore default della proprietà.
Returns
Valore della proprietà.
GetPropertyInt(Le string)
Riceve il valore totale della proprietà.
public virtual int GetPropertyInt(string key)Parameters
key string
Il nome della proprietà.
Returns
Valore della proprietà.
GetPropertyInt(Téléchargement int)
Riceve valore integrale della proprietà.Se la proprietà richiesta è assente, ritorna il valore predefinito fornito.
public virtual int GetPropertyInt(string key, int defValue)Parameters
key string
Il nome della proprietà.
defValue int
Valore default della proprietà.
Returns
Valore della proprietà.
GetPropertyMargins(Le string)
Riceve i margini del valore della proprietà.
public virtual Margins GetPropertyMargins(string key)Parameters
key string
Il nome della proprietà.
Returns
Valore della proprietà.
GetPropertyMargins(Marguerite, Margins)
Se la proprietà richiesta è assente, ritorna il valore predefinito fornito.
public virtual Margins GetPropertyMargins(string key, Margins defValue)Parameters
key string
Il nome della proprietà.
defValue Margins
Valore default della proprietà.
Returns
Valore della proprietà.
GetPropertyMatrix(Le string)
Riceve il valore di proprietà della matrice.
public virtual Matrix GetPropertyMatrix(string key)Parameters
key string
Il nome della proprietà.
Returns
Valore della proprietà.
GetPropertyMatrix(Télécharger, Matrix)
Riceve il valore della proprietà matrice.Se la proprietà richiesta è assente, ritorna il valore predefinito fornito.
public virtual Matrix GetPropertyMatrix(string key, Matrix defValue)Parameters
key string
Il nome della proprietà.
defValue Matrix
Valore default della proprietà.
Returns
Valore della proprietà.
GetPropertyRectangle(Le string)
Riceve il valore della proprietà rettangolare.
public virtual RectangleF GetPropertyRectangle(string key)Parameters
key string
Il nome della proprietà.
Returns
Valore della proprietà.
GetPropertyRectangle(Télécharger, RectangleF)
Riceve valore di proprietà rettangolare.Se la proprietà richiesta è assente, ritorna il valore predefinito fornito.
public virtual RectangleF GetPropertyRectangle(string key, RectangleF defValue)Parameters
key string
Il nome della proprietà.
defValue RectangleF
Valore default della proprietà.
Returns
Valore della proprietà.
GetPropertySize(Le string)
Riceve il valore della proprietà.
public virtual Size GetPropertySize(string key)Parameters
key string
Il nome della proprietà.
Returns
Valore della proprietà.
GetPropertySize(Télécharger, taille)
Se la proprietà richiesta è assente, restituisce il valore predefinito fornito.
public virtual Size GetPropertySize(string key, Size defValue)Parameters
key string
Il nome della proprietà.
defValue Size
Valore default della proprietà.
Returns
Valore della proprietà.
GetPropertyStringArray(Le string)
Riceve il valore della proprietà.
public virtual string[] GetPropertyStringArray(string key)Parameters
key string
Il nome della proprietà.
Returns
string [ ]
Valore della proprietà.
GetPropertyStringArray(String et String[])
Se la proprietà richiesta è assente, ritorna il valore predefinito fornito.
public virtual string[] GetPropertyStringArray(string key, string[] defValue)Parameters
key string
Il nome della proprietà.
defValue string
[ ]
Valore default della proprietà.
Returns
string [ ]
Valore della proprietà.
IsProperty(Le string)
Riceve il valore della proprietà booleana.
public virtual bool IsProperty(string key)Parameters
key string
Il nome della proprietà.
Returns
Valore della proprietà.
IsProperty(Télécharger, Bool)
Se la proprietà richiesta è assente, restituisce il valore predefinito fornito.
public virtual bool IsProperty(string key, bool defValue)Parameters
key string
Il nome della proprietà.
defValue bool
Valore default della proprietà.
Returns
Valore della proprietà.
PrintProperties()
public virtual void PrintProperties()PropertyNames()
Il ritorno dei nomi di proprietà.
public virtual IEnumerator<string> PropertyNames()Returns
IEnumerator di < string >
Elenco dei nomi di proprietà.
SetProperty(String et String)
Inserisci il valore di proprietà string.
public virtual object SetProperty(string key, string value)Parameters
key string
Il nome della proprietà.
value string
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(String et String[])
Set string array valore di proprietà.
public virtual object SetProperty(string key, string[] value)Parameters
key string
Il nome della proprietà.
value string
[ ]
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Dictionnaire <string, objet=« String, string »[])
Inserisci il valore di proprietà di string array nella tabella di proprietà specificate.
public static object SetProperty(Dictionary<string, object=""> properties, string key, string[] value)Parameters
properties Dictionary
di <
string
, object
>
La tabella delle proprietà.
key string
Il nome della proprietà.
value string
[ ]
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Couleur, couleur)
Imposta il valore della proprietà colorata.
public virtual object SetProperty(string key, Color value)Parameters
key string
Il nome della proprietà.
value Color
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Dictionnaire <string, objet=«>, string, couleur)
Inserisci il valore delle proprietà di colore nella tabella delle proprietà specificate.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Color value)Parameters
properties Dictionary
di <
string
, object
>
La tabella delle proprietà.
key string
Il nome della proprietà.
value Color
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Rectangle, Rectangle)
Imposta il valore della proprietà rettangolare.
public virtual object SetProperty(string key, Rectangle value)Parameters
key string
Il nome della proprietà.
value Rectangle
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Dictionnaire <string, objet=«">, string, rectangle)
Imposta il valore di proprietà rettangolare nella tabella di proprietà specificate.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Rectangle value)Parameters
properties Dictionary
di <
string
, object
>
La tabella delle proprietà.
key string
Il nome della proprietà.
value Rectangle
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Marguerite, Margins)
Il margine del valore della proprietà.
public virtual object SetProperty(string key, Margins value)Parameters
key string
Il nome della proprietà.
value Margins
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Dictionnaire <string, objet=« », string, margins)
Inserisci il valore di proprietà margine nella tabella di proprietà specificata.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Margins value)Parameters
properties Dictionary
di <
string
, object
>
La tabella delle proprietà.
key string
Il nome della proprietà.
value Margins
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Télécharger, taille)
La dimensione del valore della proprietà.
public virtual object SetProperty(string key, Size value)Parameters
key string
Il nome della proprietà.
value Size
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Dictionnaire <string, objet=«>, string, taille)
Imposta la dimensione del valore di proprietà nella tabella di proprietà specificate.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Size value)Parameters
properties Dictionary
di <
string
, object
>
La tabella delle proprietà.
key string
Il nome della proprietà.
value Size
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Téléchargement int)
Il valore integrale della proprietà.
public virtual object SetProperty(string key, int value)Parameters
key string
Il nome della proprietà.
value int
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Dictionnaire <string, objet=« », string, int)
Inserisci il valore integrale della proprietà nella tabella di proprietà specificata.
public static object SetProperty(Dictionary<string, object=""> properties, string key, int value)Parameters
properties Dictionary
di <
string
, object
>
La tabella delle proprietà.
key string
Il nome della proprietà.
value int
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Télécharger, double)
Il doppio valore della proprietà.
public virtual object SetProperty(string key, double value)Parameters
key string
Il nome della proprietà.
value double
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Dictionnaire <string, objet=«>, string, double)
Imposta il doppio valore di proprietà nella tabella di proprietà specificate.
public static object SetProperty(Dictionary<string, object=""> properties, string key, double value)Parameters
properties Dictionary
di <
string
, object
>
La tabella delle proprietà.
key string
Il nome della proprietà.
value double
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Flèche, Flèche)
Imposta il valore della proprietà float.
public virtual object SetProperty(string key, float value)Parameters
key string
Il nome della proprietà.
value float
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Dictionnaire <string, objet=«>, string, float)
Inserisci il valore della proprietà flotta nella tabella di proprietà specificata.
public static object SetProperty(Dictionary<string, object=""> properties, string key, float value)Parameters
properties Dictionary
di <
string
, object
>
La tabella delle proprietà.
key string
Il nome della proprietà.
value float
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Télécharger, Bool)
Il valore della proprietà booleana.
public virtual object SetProperty(string key, bool value)Parameters
key string
Il nome della proprietà.
value bool
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Dictionnaire <string, objet=« » , string , bool)
Inserisci il valore di proprietà boolean nella tabella di proprietà specificate.
public static object SetProperty(Dictionary<string, object=""> properties, string key, bool value)Parameters
properties Dictionary
di <
string
, object
>
La tabella delle proprietà.
key string
Il nome della proprietà.
value bool
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Télécharger, Matrix)
Il valore della proprietà matrizionale.
public virtual object SetProperty(string key, Matrix value)Parameters
key string
Il nome della proprietà.
value Matrix
Il valore della proprietà.
Returns
Una proprietà .
SetProperty(Dictionnaire <string, objet=« » , string , matrix)
Inserisci il valore di proprietà di matrice nella tabella di proprietà specificate.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Matrix value)Parameters
properties Dictionary
di <
string
, object
>
La tabella delle proprietà.
key string
Il nome della proprietà.
value Matrix
Il valore della proprietà.
Returns
Una proprietà .</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,>