Class UserProperties

Class UserProperties

ชื่อพื้นที่: Aspose.Page การประกอบ: Aspose.Page.dll (25.4.0)

ประเภททรัพย์สินพิเศษที่อนุญาตให้คุณสมบัติที่กําหนดและกลับ นอกจากนี้ยังอนุญาตให้เก็บรวบรวมสองวัตถุทรัพย์สินที่กําหนดเองต้องการค้นหาถ้าวัตถุทรัพย์สินนี้ไม่ได้มีทรัพย์สิน

public class UserProperties : Dictionary<string, object="">, IDictionary<string, object="">, ICollection<keyvaluepair<string, object="">&gt;, IDictionary, ICollection, IReadOnlyDictionary<string, object="">, IReadOnlyCollection<keyvaluepair<string, object="">&gt;, IEnumerable<keyvaluepair<string, object="">&gt;, 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()

เปิดตัวตัวอย่างที่ว่างเปล่าของ Class UserProperties

public UserProperties()

UserProperties(คําอธิบาย <string, object="">)

เริ่มต้นหนึ่งในคลาส UserProperties ด้วยค่าเริ่มต้น

public UserProperties(Dictionary<string, object=""> defaults)

Parameters

defaults Dictionary < string , object >

คุณสมบัติค่าเริ่มต้น

UserProperties(คําอธิบาย <string, object="">, ลักษณะ <string, object="">)

สร้าง 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

string

ความคุ้มค่าของทรัพย์สิน

GetProperty(รั้ว, รั้ว)

รับค่าทรัพย์สินเครน หากทรัพย์สินที่ร้องขอขาดคืนค่าเริ่มต้นที่ได้รับ

public virtual string GetProperty(string key, string defValue)

Parameters

key string

ชื่อของทรัพย์สิน

defValue string

หมายเลขค่าของทรัพย์สิน

Returns

string

ความคุ้มค่าของทรัพย์สิน

GetPropertyColor(รั้ว)

รับความคุ้มค่าของสินทรัพย์สี

public virtual Color GetPropertyColor(string key)

Parameters

key string

ชื่อของทรัพย์สิน

Returns

Color

ความคุ้มค่าของทรัพย์สิน

GetPropertyColor(สกรูสี)

รับมูลค่าของสินทรัพย์สี หากสินทรัพย์ที่ร้องขอขาดคืนมูลค่าที่กําหนด

public virtual Color GetPropertyColor(string key, Color defValue)

Parameters

key string

ชื่อของทรัพย์สิน

defValue Color

หมายเลขค่าของทรัพย์สิน

Returns

Color

ความคุ้มค่าของทรัพย์สิน

GetPropertyDouble(รั้ว)

ได้รับค่าทรัพย์สินคู่

public virtual double GetPropertyDouble(string key)

Parameters

key string

ชื่อของทรัพย์สิน

Returns

double

ความคุ้มค่าของทรัพย์สิน

GetPropertyDouble(คู่, คู่)

รับมูลค่าสินทรัพย์คู่ หากสินทรัพย์ที่ร้องขอขาดคืนมูลค่าที่กําหนด

public virtual double GetPropertyDouble(string key, double defValue)

Parameters

key string

ชื่อของทรัพย์สิน

defValue double

หมายเลขค่าของทรัพย์สิน

Returns

double

ความคุ้มค่าของทรัพย์สิน

GetPropertyFloat(รั้ว)

ได้รับมูลค่าของทรัพย์สิน float

public virtual float GetPropertyFloat(string key)

Parameters

key string

ชื่อของทรัพย์สิน

Returns

float

ความคุ้มค่าของทรัพย์สิน

GetPropertyFloat(ตะแกรง, float)

รับมูลค่าของสินทรัพย์ Float หากสินทรัพย์ที่ร้องขอขาดคืนมูลค่าที่กําหนด

public virtual float GetPropertyFloat(string key, float defValue)

Parameters

key string

ชื่อของทรัพย์สิน

defValue float

หมายเลขค่าของทรัพย์สิน

Returns

float

ความคุ้มค่าของทรัพย์สิน

GetPropertyInt(รั้ว)

ได้รับค่าทรัพย์สินที่สมบูรณ์

public virtual int GetPropertyInt(string key)

Parameters

key string

ชื่อของทรัพย์สิน

Returns

int

ความคุ้มค่าของทรัพย์สิน

GetPropertyInt(สกรู int)

รับค่าที่สมบูรณ์ของทรัพย์สิน หากทรัพย์สินที่ร้องขอขาดคืนค่าเริ่มต้นที่ได้รับ

public virtual int GetPropertyInt(string key, int defValue)

Parameters

key string

ชื่อของทรัพย์สิน

defValue int

หมายเลขค่าของทรัพย์สิน

Returns

int

ความคุ้มค่าของทรัพย์สิน

GetPropertyMargins(รั้ว)

รับมูลค่าทรัพย์สิน margins

public virtual Margins GetPropertyMargins(string key)

Parameters

key string

ชื่อของทรัพย์สิน

Returns

Margins

ความคุ้มค่าของทรัพย์สิน

GetPropertyMargins(ตะแกรง)

รับมูลค่าของสินทรัพย์ margin หากสินทรัพย์ที่ร้องขอขาดคืนมูลค่าที่กําหนด

public virtual Margins GetPropertyMargins(string key, Margins defValue)

Parameters

key string

ชื่อของทรัพย์สิน

defValue Margins

หมายเลขค่าของทรัพย์สิน

Returns

Margins

ความคุ้มค่าของทรัพย์สิน

GetPropertyMatrix(รั้ว)

รับค่าทรัพย์สิน Matrix

public virtual Matrix GetPropertyMatrix(string key)

Parameters

key string

ชื่อของทรัพย์สิน

Returns

Matrix

ความคุ้มค่าของทรัพย์สิน

GetPropertyMatrix(โลหะ, Matrix)

รับมูลค่าของทรัพย์สิน Matrix หากทรัพย์สินที่ร้องขอขาดคืนมูลค่าที่กําหนด

public virtual Matrix GetPropertyMatrix(string key, Matrix defValue)

Parameters

key string

ชื่อของทรัพย์สิน

defValue Matrix

หมายเลขค่าของทรัพย์สิน

Returns

Matrix

ความคุ้มค่าของทรัพย์สิน

GetPropertyRectangle(รั้ว)

รับมูลค่าทรัพย์สินแนวตั้ง

public virtual RectangleF GetPropertyRectangle(string key)

Parameters

key string

ชื่อของทรัพย์สิน

Returns

RectangleF

ความคุ้มค่าของทรัพย์สิน

GetPropertyRectangle(ลวด, RectangleF)

รับมูลค่าของสินทรัพย์แนวตั้ง หากสินทรัพย์ที่ร้องขอขาดคืนมูลค่าที่กําหนด

public virtual RectangleF GetPropertyRectangle(string key, RectangleF defValue)

Parameters

key string

ชื่อของทรัพย์สิน

defValue RectangleF

หมายเลขค่าของทรัพย์สิน

Returns

RectangleF

ความคุ้มค่าของทรัพย์สิน

GetPropertySize(รั้ว)

ได้รับขนาดของมูลค่าของทรัพย์สิน

public virtual Size GetPropertySize(string key)

Parameters

key string

ชื่อของทรัพย์สิน

Returns

Size

ความคุ้มค่าของทรัพย์สิน

GetPropertySize(รั้ว, ขนาด)

รับค่าสินทรัพย์ขนาด หากสินทรัพย์ที่ร้องขอขาดคืนค่าเริ่มต้นที่ได้รับ

public virtual Size GetPropertySize(string key, Size defValue)

Parameters

key string

ชื่อของทรัพย์สิน

defValue Size

หมายเลขค่าของทรัพย์สิน

Returns

Size

ความคุ้มค่าของทรัพย์สิน

GetPropertyStringArray(รั้ว)

ได้รับ string array คุณสมบัติมูลค่า

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

bool

ความคุ้มค่าของทรัพย์สิน

IsProperty(บอล, บอล)

รับค่าทรัพย์สิน Boolean หากทรัพย์สินที่ร้องขอขาดคืนค่าเริ่มต้นที่ได้รับ

public virtual bool IsProperty(string key, bool defValue)

Parameters

key string

ชื่อของทรัพย์สิน

defValue bool

หมายเลขค่าของทรัพย์สิน

Returns

bool

ความคุ้มค่าของทรัพย์สิน

PrintProperties()

public virtual void PrintProperties()

PropertyNames()

ชื่อสินทรัพย์ที่กลับมา

public virtual IEnumerator<string> PropertyNames()

Returns

IEnumerator < string >

ชื่อตัวเลขของทรัพย์สิน

SetProperty(รั้ว, รั้ว)

ระบุค่าทรัพย์สิน string

public virtual object SetProperty(string key, string value)

Parameters

key string

ชื่อของทรัพย์สิน

value string

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(รั้ว, รั้ว[])

ระบุค่าทรัพย์สิน string array

public virtual object SetProperty(string key, string[] value)

Parameters

key string

ชื่อของทรัพย์สิน

value string [ ]

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(คําอธิบาย <string, object=""> , string, string[])

ระบุมูลค่าของคุณสมบัติในตารางคุณสมบัติที่ระบุ

public static object SetProperty(Dictionary<string, object=""> properties, string key, string[] value)

Parameters

properties Dictionary < string , object >

ตารางคุณสมบัติ

key string

ชื่อของทรัพย์สิน

value string [ ]

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(สกรูสี)

กําหนดค่าของคุณสมบัติสี

public virtual object SetProperty(string key, Color value)

Parameters

key string

ชื่อของทรัพย์สิน

value Color

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(คําอธิบาย <string, object="">, string, สี)

การตั้งค่าคุณสมบัติสีในตารางคุณสมบัติที่ระบุ

public static object SetProperty(Dictionary<string, object=""> properties, string key, Color value)

Parameters

properties Dictionary < string , object >

ตารางคุณสมบัติ

key string

ชื่อของทรัพย์สิน

value Color

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(ตูด, ตูด)

กําหนดค่าทรัพย์สินแนวตั้ง

public virtual object SetProperty(string key, Rectangle value)

Parameters

key string

ชื่อของทรัพย์สิน

value Rectangle

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(คําอธิบาย <string, object="">, string, ตรง)

ระบุค่าทรัพย์สินแนวตั้งในตารางทรัพย์สินที่ระบุ

public static object SetProperty(Dictionary<string, object=""> properties, string key, Rectangle value)

Parameters

properties Dictionary < string , object >

ตารางคุณสมบัติ

key string

ชื่อของทรัพย์สิน

value Rectangle

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(ตะแกรง)

หมายถึงมูลค่าของสินทรัพย์

public virtual object SetProperty(string key, Margins value)

Parameters

key string

ชื่อของทรัพย์สิน

value Margins

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(คําอธิบาย <string, object="">, string, Margins)

บันทึกมูลค่าทรัพย์สิน margin ในตารางทรัพย์สินที่ระบุ

public static object SetProperty(Dictionary<string, object=""> properties, string key, Margins value)

Parameters

properties Dictionary < string , object >

ตารางคุณสมบัติ

key string

ชื่อของทรัพย์สิน

value Margins

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(รั้ว, ขนาด)

ระบุขนาดของมูลค่าของทรัพย์สิน

public virtual object SetProperty(string key, Size value)

Parameters

key string

ชื่อของทรัพย์สิน

value Size

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(คําอธิบาย <string, object="">, string, ขนาด)

การตั้งค่าขนาดของสินทรัพย์ในตารางสินทรัพย์ที่ระบุ

public static object SetProperty(Dictionary<string, object=""> properties, string key, Size value)

Parameters

properties Dictionary < string , object >

ตารางคุณสมบัติ

key string

ชื่อของทรัพย์สิน

value Size

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(สกรู int)

กําหนดค่าทรัพย์สินที่สมบูรณ์

public virtual object SetProperty(string key, int value)

Parameters

key string

ชื่อของทรัพย์สิน

value int

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(คําอธิบาย <string, object=“">, string, int)

ระบุค่าทรัพย์สินทั้งหมดในตารางทรัพย์สินที่ระบุ

public static object SetProperty(Dictionary<string, object=""> properties, string key, int value)

Parameters

properties Dictionary < string , object >

ตารางคุณสมบัติ

key string

ชื่อของทรัพย์สิน

value int

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(คู่, คู่)

หมายถึงมูลค่าสินทรัพย์คู่

public virtual object SetProperty(string key, double value)

Parameters

key string

ชื่อของทรัพย์สิน

value double

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(คําอธิบาย <string, object="">, string, คู่)

ระบุค่าสินทรัพย์คู่ในตารางสินทรัพย์ที่ระบุ

public static object SetProperty(Dictionary<string, object=""> properties, string key, double value)

Parameters

properties Dictionary < string , object >

ตารางคุณสมบัติ

key string

ชื่อของทรัพย์สิน

value double

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(ตะแกรง, float)

สร้างมูลค่าของทรัพย์สิน float

public virtual object SetProperty(string key, float value)

Parameters

key string

ชื่อของทรัพย์สิน

value float

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(คําอธิบาย <string, object="">, string, float)

ระบุมูลค่าของสินทรัพย์ในตารางสินทรัพย์ที่ระบุ

public static object SetProperty(Dictionary<string, object=""> properties, string key, float value)

Parameters

properties Dictionary < string , object >

ตารางคุณสมบัติ

key string

ชื่อของทรัพย์สิน

value float

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(บอล, บอล)

ระบุค่าทรัพย์สิน Boolean

public virtual object SetProperty(string key, bool value)

Parameters

key string

ชื่อของทรัพย์สิน

value bool

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(คําอธิบาย <string, object=“">, string, bool)

ระบุค่าทรัพย์สิน Boolean ในตารางทรัพย์สินที่ระบุ

public static object SetProperty(Dictionary<string, object=""> properties, string key, bool value)

Parameters

properties Dictionary < string , object >

ตารางคุณสมบัติ

key string

ชื่อของทรัพย์สิน

value bool

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(โลหะ, Matrix)

กําหนดค่าทรัพย์สิน Matrix

public virtual object SetProperty(string key, Matrix value)

Parameters

key string

ชื่อของทรัพย์สิน

value Matrix

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน

SetProperty(คําอธิบาย <string, object="">, string, matrix)

ระบุค่าทรัพย์สินของแม่เหล็กในตารางทรัพย์สินที่ระบุ

public static object SetProperty(Dictionary<string, object=""> properties, string key, Matrix value)

Parameters

properties Dictionary < string , object >

ตารางคุณสมบัติ

key string

ชื่อของทรัพย์สิน

value Matrix

ความคุ้มค่าของทรัพย์สิน

Returns

object

หนึ่งทรัพย์สิน</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,>

 แบบไทย