Class UserProperties
Namespace: Aspose.Page
Assembly: Aspose.Page.dll (25.1.2)
Tiplenmiş özelliklerin ayarlanmasına ve geri döndürülmesine olanak tanıyan özel bir özellik sınıfıdır. Ayrıca, bu özellik nesnesinin özelliği içermemesi durumunda iki varsayılan özellik nesnesinin bağlanmasına ve aranmasına izin verir.
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
Kalıtım
object ← Dictionary<string, object=""> ← UserProperties
Uygulamalar
IDictionary<string, object="">, ICollection<keyvaluepair<string, object="">>, IDictionary, ICollection, IReadOnlyDictionary<string, object="">, IReadOnlyCollection<keyvaluepair<string, object="">>, IEnumerable<keyvaluepair<string, object="">>, IEnumerable, ISerializable, IDeserializationCallback
Kalıtılan Üyeler
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()
Yapıcılar
UserProperties()
UserProperties sınıfının boş bir örneğini başlatır.
public UserProperties()
UserProperties(Dictionary<string, object="">)
Varsayılan değerlerle UserProperties sınıfını başlatır.
public UserProperties(Dictionary<string, object=""> defaults)
Parametreler
defaults
Dictionary<string, object>
Varsayılan özellik değerleri.
UserProperties(Dictionary<string, object="">, Dictionary<string, object="">)
UserProperties’ı varsayılanlar ve altVarsayılanlar tablosuyla oluşturur, bu tablolar sırasıyla aranır.
public UserProperties(Dictionary<string, object=""> defaults, Dictionary<string, object=""> altDefaults)
Parametreler
defaults
Dictionary<string, object>
Varsayılan özellik değerleri.
altDefaults
Dictionary<string, object>
Alternatif özellik değerleri.
Alanlar
altDefaults
Alternatif özellik değerleri.
protected Dictionary<string, object=""> altDefaults
Alan Değeri
Dictionary<string, object>
Özellikler
Properties
Varsayılanları da içeren özellikleri bu UserProperties’e kopyalar.
public virtual Dictionary<string, object=""> Properties { set; }
Özellik Değeri
Dictionary<string, object>
Metotlar
GetProperty(string)
Dize özellik değerini alır.
public virtual string GetProperty(string key)
Parametreler
key
string
Özelliğin adı.
Dönüş
Özellik değeri.
GetProperty(string, string)
Dize özellik değerini alır. İstenilen özellik mevcut değilse, sağlanan varsayılan değeri döndürür.
public virtual string GetProperty(string key, string defValue)
Parametreler
key
string
Özelliğin adı.
defValue
string
Özelliğin varsayılan değeri.
Dönüş
Özellik değeri.
GetPropertyColor(string)
Renk özellik değerini alır.
public virtual Color GetPropertyColor(string key)
Parametreler
key
string
Özelliğin adı.
Dönüş
Özellik değeri.
GetPropertyColor(string, Color)
Renk özellik değerini alır. İstenilen özellik mevcut değilse, sağlanan varsayılan değeri döndürür.
public virtual Color GetPropertyColor(string key, Color defValue)
Parametreler
key
string
Özelliğin adı.
defValue
Color
Özelliğin varsayılan değeri.
Dönüş
Özellik değeri.
GetPropertyDouble(string)
Çift özellik değerini alır.
public virtual double GetPropertyDouble(string key)
Parametreler
key
string
Özelliğin adı.
Dönüş
Özellik değeri.
GetPropertyDouble(string, double)
Çift özellik değerini alır. İstenilen özellik mevcut değilse, sağlanan varsayılan değeri döndürür.
public virtual double GetPropertyDouble(string key, double defValue)
Parametreler
key
string
Özelliğin adı.
defValue
double
Özelliğin varsayılan değeri.
Dönüş
Özellik değeri.
GetPropertyFloat(string)
Float özellik değerini alır.
public virtual float GetPropertyFloat(string key)
Parametreler
key
string
Özelliğin adı.
Dönüş
Özellik değeri.
GetPropertyFloat(string, float)
Float özellik değerini alır. İstenilen özellik mevcut değilse, sağlanan varsayılan değeri döndürür.
public virtual float GetPropertyFloat(string key, float defValue)
Parametreler
key
string
Özelliğin adı.
defValue
float
Özelliğin varsayılan değeri.
Dönüş
Özellik değeri.
GetPropertyInt(string)
Tam sayı özellik değerini alır.
public virtual int GetPropertyInt(string key)
Parametreler
key
string
Özelliğin adı.
Dönüş
Özellik değeri.
GetPropertyInt(string, int)
Tam sayı özellik değerini alır. İstenilen özellik mevcut değilse, sağlanan varsayılan değeri döndürür.
public virtual int GetPropertyInt(string key, int defValue)
Parametreler
key
string
Özelliğin adı.
defValue
int
Özelliğin varsayılan değeri.
Dönüş
Özellik değeri.
GetPropertyMargins(string)
Marjin özellik değerini alır.
public virtual Margins GetPropertyMargins(string key)
Parametreler
key
string
Özelliğin adı.
Dönüş
Özellik değeri.
GetPropertyMargins(string, Margins)
Marjin özellik değerini alır. İstenilen özellik mevcut değilse, sağlanan varsayılan değeri döndürür.
public virtual Margins GetPropertyMargins(string key, Margins defValue)
Parametreler
key
string
Özelliğin adı.
defValue
Margins
Özelliğin varsayılan değeri.
Dönüş
Özellik değeri.
GetPropertyMatrix(string)
Matris özellik değerini alır.
public virtual Matrix GetPropertyMatrix(string key)
Parametreler
key
string
Özelliğin adı.
Dönüş
Özellik değeri.
GetPropertyMatrix(string, Matrix)
Matris özellik değerini alır. İstenilen özellik mevcut değilse, sağlanan varsayılan değeri döndürür.
public virtual Matrix GetPropertyMatrix(string key, Matrix defValue)
Parametreler
key
string
Özelliğin adı.
defValue
Matrix
Özelliğin varsayılan değeri.
Dönüş
Özellik değeri.
GetPropertyRectangle(string)
Dikdörtgen özellik değerini alır.
public virtual RectangleF GetPropertyRectangle(string key)
Parametreler
key
string
Özelliğin adı.
Dönüş
Özellik değeri.
GetPropertyRectangle(string, RectangleF)
Dikdörtgen özellik değerini alır. İstenilen özellik mevcut değilse, sağlanan varsayılan değeri döndürür.
public virtual RectangleF GetPropertyRectangle(string key, RectangleF defValue)
Parametreler
key
string
Özelliğin adı.
defValue
RectangleF
Özelliğin varsayılan değeri.
Dönüş
Özellik değeri.
GetPropertySize(string)
Boyut özellik değerini alır.
public virtual Size GetPropertySize(string key)
Parametreler
key
string
Özelliğin adı.
Dönüş
Özellik değeri.
GetPropertySize(string, Size)
Boyut özellik değerini alır. İstenilen özellik mevcut değilse, sağlanan varsayılan değeri döndürür.
public virtual Size GetPropertySize(string key, Size defValue)
Parametreler
key
string
Özelliğin adı.
defValue
Size
Özelliğin varsayılan değeri.
Dönüş
Özellik değeri.
GetPropertyStringArray(string)
Dize dizisi özellik değerini alır.
public virtual string[] GetPropertyStringArray(string key)
Parametreler
key
string
Özelliğin adı.
Dönüş
string[]
Özellik değeri.
GetPropertyStringArray(string, string[])
Dize dizisi özellik değerini alır. İstenilen özellik mevcut değilse, sağlanan varsayılan değeri döndürür.
public virtual string[] GetPropertyStringArray(string key, string[] defValue)
Parametreler
key
string
Özelliğin adı.
defValue
string[]
Özelliğin varsayılan değeri.
Dönüş
string[]
Özellik değeri.
IsProperty(string)
Boolean özellik değerini alır.
public virtual bool IsProperty(string key)
Parametreler
key
string
Özelliğin adı.
Dönüş
Özellik değeri.
IsProperty(string, bool)
Boolean özellik değerini alır. İstenilen özellik mevcut değilse, sağlanan varsayılan değeri döndürür.
public virtual bool IsProperty(string key, bool defValue)
Parametreler
key
string
Özelliğin adı.
defValue
bool
Özelliğin varsayılan değeri.
Dönüş
Özellik değeri.
PrintProperties()
public virtual void PrintProperties()
PropertyNames()
Özellik adlarını döndürür.
public virtual IEnumerator<string> PropertyNames()
Dönüş
IEnumerator<string>
Özellik adlarının enumeratörü.
SetProperty(string, string)
Dize özellik değerini ayarlar.
public virtual object SetProperty(string key, string value)
Parametreler
key
string
Özelliğin adı.
value
string
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(string, string[])
Dize dizisi özellik değerini ayarlar.
public virtual object SetProperty(string key, string[] value)
Parametreler
key
string
Özelliğin adı.
value
string[]
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(Dictionary<string, object="">, string, string[])
Belirtilen özellikler tablosunda dize dizisi özellik değerini ayarlar.
public static object SetProperty(Dictionary<string, object=""> properties, string key, string[] value)
Parametreler
properties
Dictionary<string, object>
Özellikler tablosu.
key
string
Özelliğin adı.
value
string[]
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(string, Color)
Renk özellik değerini ayarlar.
public virtual object SetProperty(string key, Color value)
Parametreler
key
string
Özelliğin adı.
value
Color
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(Dictionary<string, object="">, string, Color)
Belirtilen özellikler tablosunda renk özellik değerini ayarlar.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Color value)
Parametreler
properties
Dictionary<string, object>
Özellikler tablosu.
key
string
Özelliğin adı.
value
Color
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(string, Rectangle)
Dikdörtgen özellik değerini ayarlar.
public virtual object SetProperty(string key, Rectangle value)
Parametreler
key
string
Özelliğin adı.
value
Rectangle
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(Dictionary<string, object="">, string, Rectangle)
Belirtilen özellikler tablosunda dikdörtgen özellik değerini ayarlar.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Rectangle value)
Parametreler
properties
Dictionary<string, object>
Özellikler tablosu.
key
string
Özelliğin adı.
value
Rectangle
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(string, Margins)
Marjin özellik değerini ayarlar.
public virtual object SetProperty(string key, Margins value)
Parametreler
key
string
Özelliğin adı.
value
Margins
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(Dictionary<string, object="">, string, Margins)
Belirtilen özellikler tablosunda marjin özellik değerini ayarlar.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Margins value)
Parametreler
properties
Dictionary<string, object>
Özellikler tablosu.
key
string
Özelliğin adı.
value
Margins
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(string, Size)
Boyut özellik değerini ayarlar.
public virtual object SetProperty(string key, Size value)
Parametreler
key
string
Özelliğin adı.
value
Size
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(Dictionary<string, object="">, string, Size)
Belirtilen özellikler tablosunda boyut özellik değerini ayarlar.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Size value)
Parametreler
properties
Dictionary<string, object>
Özellikler tablosu.
key
string
Özelliğin adı.
value
Size
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(string, int)
Tam sayı özellik değerini ayarlar.
public virtual object SetProperty(string key, int value)
Parametreler
key
string
Özelliğin adı.
value
int
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(Dictionary<string, object="">, string, int)
Belirtilen özellikler tablosunda tam sayı özellik değerini ayarlar.
public static object SetProperty(Dictionary<string, object=""> properties, string key, int value)
Parametreler
properties
Dictionary<string, object>
Özellikler tablosu.
key
string
Özelliğin adı.
value
int
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(string, double)
Çift özellik değerini ayarlar.
public virtual object SetProperty(string key, double value)
Parametreler
key
string
Özelliğin adı.
value
double
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(Dictionary<string, object="">, string, double)
Belirtilen özellikler tablosunda çift özellik değerini ayarlar.
public static object SetProperty(Dictionary<string, object=""> properties, string key, double value)
Parametreler
properties
Dictionary<string, object>
Özellikler tablosu.
key
string
Özelliğin adı.
value
double
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(string, float)
Float özellik değerini ayarlar.
public virtual object SetProperty(string key, float value)
Parametreler
key
string
Özelliğin adı.
value
float
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(Dictionary<string, object="">, string, float)
Belirtilen özellikler tablosunda float özellik değerini ayarlar.
public static object SetProperty(Dictionary<string, object=""> properties, string key, float value)
Parametreler
properties
Dictionary<string, object>
Özellikler tablosu.
key
string
Özelliğin adı.
value
float
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(string, bool)
Boolean özellik değerini ayarlar.
public virtual object SetProperty(string key, bool value)
Parametreler
key
string
Özelliğin adı.
value
bool
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(Dictionary<string, object="">, string, bool)
Belirtilen özellikler tablosunda boolean özellik değerini ayarlar.
public static object SetProperty(Dictionary<string, object=""> properties, string key, bool value)
Parametreler
properties
Dictionary<string, object>
Özellikler tablosu.
key
string
Özelliğin adı.
value
bool
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(string, Matrix)
Matris özellik değerini ayarlar.
public virtual object SetProperty(string key, Matrix value)
Parametreler
key
string
Özelliğin adı.
value
Matrix
Özelliğin değeri.
Dönüş
Bir özellik.
SetProperty(Dictionary<string, object="">, string, Matrix)
Belirtilen özellikler tablosunda matris özellik değerini ayarlar.
public static object SetProperty(Dictionary<string, object=""> properties, string key, Matrix value)
Parametreler
properties
Dictionary<string, object>
Özellikler tablosu.
key
string
Özelliğin adı.
value
Matrix
Özelliğin değeri.
Dönüş
Bir özellik.