Fill

סקירה כללית

Fill הוא מבנה ב-Aspose.Cells FOSS עבור Rust. יורש מ: Debug, Clone, PartialEq, ועוד 3 נוספים.

מייצג חזית של סגנון תא ברת שינוי שניתן להחיל על תא אחד או יותר.

מבנה זה מצהיר על 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 for 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()מאפסת את צבע הרקע.

ראה גם

 עברית