فئة Aspose::Page::UserProperties

UserProperties class

فئة خاصية مميزة تسمح بتعيين وإرجاع الخصائص ذات النوع المحدد. كما تسمح بربط كائنين خاصية افتراضيين للبحث إذا لم يحتوي كائن الخاصية هذا على الخاصية.

class UserProperties : public System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>

الطرق

طريقةالوصف
virtual GetProperty(System::String)يحصل على قيمة الخاصية النصية.
virtual GetProperty(System::String, System::String)يحصل على قيمة الخاصية النصية. إذا كانت الخاصية المطلوبة غير موجودة، يرجع القيمة الافتراضية المقدمة.
virtual GetPropertyColor(System::String)يحصل على قيمة الخاصية اللونية.
virtual GetPropertyColor(System::String, System::Drawing::Color)يحصل على قيمة الخاصية اللونية. إذا كانت الخاصية المطلوبة غير موجودة، يرجع القيمة الافتراضية المقدمة.
virtual GetPropertyDouble(System::String)يحصل على قيمة الخاصية ذات النوع المزدوج.
virtual GetPropertyDouble(System::String, double)يحصل على قيمة الخاصية ذات النوع المزدوج. إذا كانت الخاصية المطلوبة غير موجودة، يرجع القيمة الافتراضية المقدمة.
virtual GetPropertyFloat(System::String)يحصل على قيمة الخاصية ذات النوع العائم.
virtual GetPropertyFloat(System::String, float)يحصل على قيمة الخاصية ذات النوع العائم. إذا كانت الخاصية المطلوبة غير موجودة، يرجع القيمة الافتراضية المقدمة.
virtual GetPropertyInt(System::String)يحصل على قيمة الخاصية العددية.
virtual GetPropertyInt(System::String, int32_t)يحصل على قيمة الخاصية العددية. إذا كانت الخاصية المطلوبة غير موجودة، يرجع القيمة الافتراضية المقدمة.
virtual GetPropertyMargins(System::String)يحصل على قيمة خاصية الهوامش.
virtual GetPropertyMargins(System::String, System::SharedPtr<Margins>)يحصل على قيمة خاصية الهوامش. إذا كانت الخاصية المطلوبة غير موجودة، يرجع القيمة الافتراضية المقدمة.
virtual GetPropertyMatrix(System::String)يحصل على قيمة خاصية المصفوفة.
virtual GetPropertyMatrix(System::String, System::SharedPtr<System::Drawing::Drawing2D::Matrix>)يحصل على قيمة خاصية المصفوفة. إذا كانت الخاصية المطلوبة غير موجودة، يرجع القيمة الافتراضية المقدمة.
virtual GetPropertyRectangle(System::String)يحصل على قيمة خاصية المستطيل.
virtual GetPropertyRectangle(System::String, System::Drawing::RectangleF)يحصل على قيمة خاصية المستطيل. إذا كانت الخاصية المطلوبة غير موجودة، يرجع القيمة الافتراضية المقدمة.
virtual GetPropertySize(System::String)يحصل على قيمة خاصية الحجم.
virtual GetPropertySize(System::String, System::Drawing::Size)يحصل على قيمة خاصية الحجم. إذا كانت الخاصية المطلوبة غير موجودة، يرجع القيمة الافتراضية المقدمة.
virtual GetPropertyStringArray(System::String)يحصل على قيمة خاصية مصفوفة السلاسل.
virtual GetPropertyStringArray(System::String, System::ArrayPtr<System::String>)يحصل على قيمة خاصية مصفوفة السلاسل. إذا كانت الخاصية المطلوبة غير موجودة، يرجع القيمة الافتراضية المقدمة.
virtual IsProperty(System::String)يحصل على قيمة الخاصية المنطقية.
virtual IsProperty(System::String, bool)يحصل على قيمة الخاصية المنطقية. إذا كانت الخاصية المطلوبة غير موجودة، يرجع القيمة الافتراضية المقدمة.
virtual PrintProperties()
virtual PropertyNames()يرجع أسماء الخصائص.
virtual set_Properties(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>)ينسخ الخصائص، بما في ذلك القيم الافتراضية، إلى هذا UserProperties.
virtual SetProperty(System::String, System::String)يضبط قيمة الخاصية النصية.
virtual SetProperty(System::String, System::ArrayPtr<System::String>)يضبط قيمة خاصية مصفوفة السلاسل.
static SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>, System::String, System::ArrayPtr<System::String>)يضبط قيمة خاصية مصفوفة السلاسل في جدول الخصائص المحدد.
virtual SetProperty(System::String, System::Drawing::Color)يضبط قيمة خاصية اللون.
static SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>, System::String, System::Drawing::Color)يضبط قيمة خاصية اللون في جدول الخصائص المحدد.
virtual SetProperty(System::String, System::Drawing::Rectangle)يضبط قيمة خاصية المستطيل.
static SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>, System::String, System::Drawing::Rectangle)يضبط قيمة خاصية المستطيل في جدول الخصائص المحدد.
virtual SetProperty(System::String, System::SharedPtr<Margins>)يضبط قيمة خاصية الهوامش.
static SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>, System::String, System::SharedPtr<Margins>)يضبط قيمة خاصية الهوامش في جدول الخصائص المحدد.
virtual SetProperty(System::String, System::Drawing::Size)يضبط قيمة خاصية الحجم.
static SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>, System::String, System::Drawing::Size)يضبط قيمة خاصية الحجم في جدول الخصائص المحدد.
virtual SetProperty(System::String, int32_t)يضبط قيمة خاصية العدد الصحيح.
static SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>, System::String, int32_t)يضبط قيمة خاصية العدد الصحيح في جدول الخصائص المحدد.
virtual SetProperty(System::String, double)يضبط قيمة خاصية مزدوجة.
static SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>, System::String, double)يضبط قيمة خاصية مزدوجة في جدول الخصائص المحدد.
virtual SetProperty(System::String, float)يضبط قيمة خاصية عائمة.
static SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>, System::String, float)يضبط قيمة خاصية عائمة في جدول الخصائص المحدد.
virtual SetProperty(System::String, bool)يضبط قيمة خاصية منطقية.
static SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>, System::String, bool)يضبط قيمة خاصية منطقية في جدول الخصائص المحدد.
virtual SetProperty(System::String, System::SharedPtr<System::Drawing::Drawing2D::Matrix>)يضبط قيمة خاصية المصفوفة.
static SetProperty(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>, System::String, System::SharedPtr<System::Drawing::Drawing2D::Matrix>)يضبط قيمة خاصية المصفوفة في جدول الخصائص المحدد.
SetTemplateWeakPtr(uint32_t) overrideعيّن الوسيط القالب رقم n كإشارة ضعيفة (بدلاً من المشتركة). يسمح بتبديل المؤشرات في الحاويات إلى وضع الضعيفة.
UserProperties()يُهيئ نسخة فارغة من الفئة UserProperties.
UserProperties(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>)يُهيئ نسخة من الفئة UserProperties بالقيم الافتراضية.
UserProperties(System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>, System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object>>>)يبني UserProperties مع جدول defaults و altDefaults، يتم البحث فيهما بهذا الترتيب.

انظر أيضًا