Class UserProperties
Namespace: Aspose.Page
Assembly: Aspose.Page.dll (25.1.2)
型付きプロパティを設定および返すことを可能にする特別なプロパティクラスです。このプロパティオブジェクトにプロパティが含まれていない場合は、検索される2つのデフォルトプロパティオブジェクトを接続することも可能です。
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
継承
object ← Dictionary<string, object=""> ← UserProperties
実装
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()
コンストラクター
UserProperties()
UserPropertiesクラスの空のインスタンスを初期化します。
public UserProperties()
UserProperties(Dictionary<string, object="">)
デフォルト値を持つUserPropertiesクラスのインスタンスを初期化します。
public UserProperties(Dictionary<string, object=""> defaults)
パラメータ
defaults
Dictionary<string, object>
デフォルトプロパティ値。
UserProperties(Dictionary<string, object="">, Dictionary<string, object="">)
デフォルトとaltDefaultsテーブルを持つUserPropertiesを構築し、検索される順序で使用されます。
public UserProperties(Dictionary<string, object=""> defaults, Dictionary<string, object=""> altDefaults)
パラメータ
defaults
Dictionary<string, object>
デフォルトプロパティ値。
altDefaults
Dictionary<string, object>
代替プロパティ値。
フィールド
altDefaults
代替プロパティ値。
protected Dictionary<string, object=""> altDefaults
フィールド値
Dictionary<string, object>
プロパティ
Properties
デフォルトを含むプロパティをこのUserPropertiesにコピーします。
public virtual Dictionary<string, object=""> Properties { set; }
プロパティ値
Dictionary<string, object>
メソッド
GetProperty(string)
文字列プロパティ値を取得します。
public virtual string GetProperty(string key)
パラメータ
key
string
プロパティの名前。
戻り値
プロパティ値。
GetProperty(string, string)
文字列プロパティ値を取得します。要求されたプロパティが存在しない場合は、提供されたデフォルト値を返します。
public virtual string GetProperty(string key, string defValue)
パラメータ
key
string
プロパティの名前。
defValue
string
プロパティのデフォルト値。
戻り値
プロパティ値。
GetPropertyColor(string)
色プロパティ値を取得します。
public virtual Color GetPropertyColor(string key)
パラメータ
key
string
プロパティの名前。
戻り値
プロパティ値。
GetPropertyColor(string, Color)
色プロパティ値を取得します。要求されたプロパティが存在しない場合は、提供されたデフォルト値を返します。
public virtual Color GetPropertyColor(string key, Color defValue)
パラメータ
key
string
プロパティの名前。
defValue
Color
プロパティのデフォルト値。
戻り値
プロパティ値。
GetPropertyDouble(string)
倍精度プロパティ値を取得します。
public virtual double GetPropertyDouble(string key)
パラメータ
key
string
プロパティの名前。
戻り値
プロパティ値。
GetPropertyDouble(string, double)
倍精度プロパティ値を取得します。要求されたプロパティが存在しない場合は、提供されたデフォルト値を返します。
public virtual double GetPropertyDouble(string key, double defValue)
パラメータ
key
string
プロパティの名前。
defValue
double
プロパティのデフォルト値。
戻り値
プロパティ値。
GetPropertyFloat(string)
浮動小数点プロパティ値を取得します。
public virtual float GetPropertyFloat(string key)
パラメータ
key
string
プロパティの名前。
戻り値
プロパティ値。
GetPropertyFloat(string, float)
浮動小数点プロパティ値を取得します。要求されたプロパティが存在しない場合は、提供されたデフォルト値を返します。
public virtual float GetPropertyFloat(string key, float defValue)
パラメータ
key
string
プロパティの名前。
defValue
float
プロパティのデフォルト値。
戻り値
プロパティ値。
GetPropertyInt(string)
整数プロパティ値を取得します。
public virtual int GetPropertyInt(string key)
パラメータ
key
string
プロパティの名前。
戻り値
プロパティ値。
GetPropertyInt(string, int)
整数プロパティ値を取得します。要求されたプロパティが存在しない場合は、提供されたデフォルト値を返します。
public virtual int GetPropertyInt(string key, int defValue)
パラメータ
key
string
プロパティの名前。
defValue
int
プロパティのデフォルト値。
戻り値
プロパティ値。
GetPropertyMargins(string)
マージンプロパティ値を取得します。
public virtual Margins GetPropertyMargins(string key)
パラメータ
key
string
プロパティの名前。
戻り値
プロパティ値。
GetPropertyMargins(string, Margins)
マージンプロパティ値を取得します。要求されたプロパティが存在しない場合は、提供されたデフォルト値を返します。
public virtual Margins GetPropertyMargins(string key, Margins defValue)
パラメータ
key
string
プロパティの名前。
defValue
Margins
プロパティのデフォルト値。
戻り値
プロパティ値。
GetPropertyMatrix(string)
行列プロパティ値を取得します。
public virtual Matrix GetPropertyMatrix(string key)
パラメータ
key
string
プロパティの名前。
戻り値
プロパティ値。
GetPropertyMatrix(string, Matrix)
行列プロパティ値を取得します。要求されたプロパティが存在しない場合は、提供されたデフォルト値を返します。
public virtual Matrix GetPropertyMatrix(string key, Matrix defValue)
パラメータ
key
string
プロパティの名前。
defValue
Matrix
プロパティのデフォルト値。
戻り値
プロパティ値。
GetPropertyRectangle(string)
矩形プロパティ値を取得します。
public virtual RectangleF GetPropertyRectangle(string key)
パラメータ
key
string
プロパティの名前。
戻り値
プロパティ値。
GetPropertyRectangle(string, RectangleF)
矩形プロパティ値を取得します。要求されたプロパティが存在しない場合は、提供されたデフォルト値を返します。
public virtual RectangleF GetPropertyRectangle(string key, RectangleF defValue)
パラメータ
key
string
プロパティの名前。
defValue
RectangleF
プロパティのデフォルト値。
戻り値
プロパティ値。
GetPropertySize(string)
サイズプロパティ値を取得します。
public virtual Size GetPropertySize(string key)
パラメータ
key
string
プロパティの名前。
戻り値
プロパティ値。
GetPropertySize(string, Size)
サイズプロパティ値を取得します。要求されたプロパティが存在しない場合は、提供されたデフォルト値を返します。
public virtual Size GetPropertySize(string key, Size defValue)
パラメータ
key
string
プロパティの名前。
defValue
Size
プロパティのデフォルト値。
戻り値
プロパティ値。
GetPropertyStringArray(string)
文字列配列プロパティ値を取得します。
public virtual string[] GetPropertyStringArray(string key)
パラメータ
key
string
プロパティの名前。
戻り値
string[]
プロパティ値。
GetPropertyStringArray(string, string[])
文字列配列プロパティ値を取得します。要求されたプロパティが存在しない場合は、提供されたデフォルト値を返します。
public virtual string[] GetPropertyStringArray(string key, string[] defValue)
パラメータ
key
string
プロパティの名前。
defValue
string[]
プロパティのデフォルト値。
戻り値
string[]
プロパティ値。
IsProperty(string)
ブールプロパティ値を取得します。
public virtual bool IsProperty(string key)
パラメータ
key
string
プロパティの名前。
戻り値
プロパティ値。
IsProperty(string, bool)
ブールプロパティ値を取得します。要求されたプロパティが存在しない場合は、提供されたデフォルト値を返します。
public virtual bool IsProperty(string key, bool defValue)
パラメータ
key
string
プロパティの名前。
defValue
bool
プロパティのデフォルト値。
戻り値
プロパティ値。
PrintProperties()
public virtual void PrintProperties()
PropertyNames()
プロパティ名を返します。
public virtual IEnumerator<string> PropertyNames()
戻り値
IEnumerator<string>
プロパティ名の列挙子。
SetProperty(string, string)
文字列プロパティ値を設定します。
public virtual object SetProperty(string key, string value)
パラメータ
key
string
プロパティの名前。
value
string
プロパティの値。
戻り値
プロパティ。
SetProperty(string, string[])
文字列配列プロパティ値を設定します。
public virtual object SetProperty(string key, string[] value)
パラメータ
key
string
プロパティの名前。
value
string[]
プロパティの値。
戻り値
プロパティ。
SetProperty(Dictionary<string, object="">, string, string[])
指定されたプロパティテーブルに文字列配列プロパティ値を設定します。
public static object SetProperty(Dictionary<string, object=""> properties, string key, string[] value)
パラメータ
properties
Dictionary<string, object>
プロパティテーブル。
key
string
プロパティの名前。
value
string[]
プロパティの値。
戻り値
プロパティ。
SetProperty(string, Color)
色プロパティ値を設定します。
public virtual object SetProperty(string key, Color value)
パラメータ
key
string
プロパティの名前。
value
Color
プロパティの値。
戻り値
プロパティ。
SetProperty(Dictionary<string, object="">, string, Color)
指定されたプロパティテーブルに色プロパティ値を設定します。
public static object SetProperty(Dictionary<string, object=""> properties, string key, Color value)
パラメータ
properties
Dictionary<string, object>
プロパティテーブル。
key
string
プロパティの名前。
value
Color
プロパティの値。
戻り値
プロパティ。
SetProperty(string, Rectangle)
矩形プロパティ値を設定します。
public virtual object SetProperty(string key, Rectangle value)
パラメータ
key
string
プロパティの名前。
value
Rectangle
プロパティの値。
戻り値
プロパティ。
SetProperty(Dictionary<string, object="">, string, Rectangle)
指定されたプロパティテーブルに矩形プロパティ値を設定します。
public static object SetProperty(Dictionary<string, object=""> properties, string key, Rectangle value)
パラメータ
properties
Dictionary<string, object>
プロパティテーブル。
key
string
プロパティの名前。
value
Rectangle
プロパティの値。
戻り値
プロパティ。
SetProperty(string, Margins)
マージンプロパティ値を設定します。
public virtual object SetProperty(string key, Margins value)
パラメータ
key
string
プロパティの名前。
value
Margins
プロパティの値。
戻り値
プロパティ。
SetProperty(Dictionary<string, object="">, string, Margins)
指定されたプロパティテーブルにマージンプロパティ値を設定します。
public static object SetProperty(Dictionary<string, object=""> properties, string key, Margins value)
パラメータ
properties
Dictionary<string, object>
プロパティテーブル。
key
string
プロパティの名前。
value
Margins
プロパティの値。
戻り値
プロパティ。
SetProperty(string, Size)
サイズプロパティ値を設定します。
public virtual object SetProperty(string key, Size value)
パラメータ
key
string
プロパティの名前。
value
Size
プロパティの値。
戻り値
プロパティ。
SetProperty(Dictionary<string, object="">, string, Size)
指定されたプロパティテーブルにサイズプロパティ値を設定します。
public static object SetProperty(Dictionary<string, object=""> properties, string key, Size value)
パラメータ
properties
Dictionary<string, object>
プロパティテーブル。
key
string
プロパティの名前。
value
Size
プロパティの値。
戻り値
プロパティ。
SetProperty(string, int)
整数プロパティ値を設定します。
public virtual object SetProperty(string key, int value)
パラメータ
key
string
プロパティの名前。
value
int
プロパティの値。
戻り値
プロパティ。
SetProperty(Dictionary<string, object="">, string, int)
指定されたプロパティテーブルに整数プロパティ値を設定します。
public static object SetProperty(Dictionary<string, object=""> properties, string key, int value)
パラメータ
properties
Dictionary<string, object>
プロパティテーブル。
key
string
プロパティの名前。
value
int
プロパティの値。
戻り値
プロパティ。
SetProperty(string, double)
倍精度プロパティ値を設定します。
public virtual object SetProperty(string key, double value)
パラメータ
key
string
プロパティの名前。
value
double
プロパティの値。
戻り値
プロパティ。
SetProperty(Dictionary<string, object="">, string, double)
指定されたプロパティテーブルに倍精度プロパティ値を設定します。
public static object SetProperty(Dictionary<string, object=""> properties, string key, double value)
パラメータ
properties
Dictionary<string, object>
プロパティテーブル。
key
string
プロパティの名前。
value
double
プロパティの値。
戻り値
プロパティ。
SetProperty(string, float)
浮動小数点プロパティ値を設定します。
public virtual object SetProperty(string key, float value)
パラメータ
key
string
プロパティの名前。
value
float
プロパティの値。
戻り値
プロパティ。
SetProperty(Dictionary<string, object="">, string, float)
指定されたプロパティテーブルに浮動小数点プロパティ値を設定します。
public static object SetProperty(Dictionary<string, object=""> properties, string key, float value)
パラメータ
properties
Dictionary<string, object>
プロパティテーブル。
key
string
プロパティの名前。
value
float
プロパティの値。
戻り値
プロパティ。
SetProperty(string, bool)
ブールプロパティ値を設定します。
public virtual object SetProperty(string key, bool value)
パラメータ
key
string
プロパティの名前。
value
bool
プロパティの値。
戻り値
プロパティ。
SetProperty(Dictionary<string, object="">, string, bool)
指定されたプロパティテーブルにブールプロパティ値を設定します。
public static object SetProperty(Dictionary<string, object=""> properties, string key, bool value)
パラメータ
properties
Dictionary<string, object>
プロパティテーブル。
key
string
プロパティの名前。
value
bool
プロパティの値。
戻り値
プロパティ。
SetProperty(string, Matrix)
行列プロパティ値を設定します。
public virtual object SetProperty(string key, Matrix value)
パラメータ
key
string
プロパティの名前。
value
Matrix
プロパティの値。
戻り値
プロパティ。
SetProperty(Dictionary<string, object="">, string, Matrix)
指定されたプロパティテーブルに行列プロパティ値を設定します。
public static object SetProperty(Dictionary<string, object=""> properties, string key, Matrix value)
パラメータ
properties
Dictionary<string, object>
プロパティテーブル。
key
string
プロパティの名前。
value
Matrix
プロパティの値。
戻り値
プロパティ。