Fill

نظرة عامة

Fill هو struct في Aspose.Cells FOSS للـ Rust. يُورث من: Debug, Clone, PartialEq, و 3 أخرى.

يمثل واجهة نمط خلية قابلة للتعديل يمكن تطبيقها على خلية واحدة أو أكثر.

يعلن هذا struct عن 9 أساليب لكائنات Fill في برامج Rust. تشمل الأساليب المتاحة: clear_background_color, clear_foreground_color, get_background_color, get_foreground_color, get_pattern, new, set_background_color, set_foreground_color, set_pattern. الأعضاء العامة متاحة لأي تطبيق Rust بعد تثبيت حزمة Aspose.Cells FOSS للـ Rust. الحقول: background_color, foreground_color, pattern.

الحقول

اسمالنوعالوصولوصف
patternFillPatternقراءة/كتابةيحصل على النمط.
foreground_colorOption<String>قراءة/كتابةيحصل على لون المقدمة.
background_colorOption<String>قراءة/كتابةيحصل على لون الخلفية.

الطرق

التوقيعوصف
new() → Selfيُهيئ مثيلًا جديدًا.
get_pattern() → FillPatternيحصل على نمط التعبئة.
set_pattern(value: FillPattern)يضبط نمط التعبئة.
get_foreground_color() → Option<&str>يحصل على لون المقدمة للملء.
set_foreground_color(value: impl Into<String>)يضبط لون المقدمة للتعبئة.
clear_foreground_color()يمسح لون المقدمة.
get_background_color() → Option<&str>يحصل على لون خلفية التعبئة.
set_background_color(value: impl Into<String>)يضبط لون خلفية التعبئة.
clear_background_color()يمسح لون الخلفية.

انظر أيضاً

 العربية