Fill

Vue de l’ensemble

‘Fill’ est une classe dans Aspose.Cells FOSS pour Python.

Représentants remplir les paramètres pour une cellule ou la gamme de cellules.

Cette classe fournit 5 méthodes pour travailler avec les objets de remplissage dans les programmes Python. Les méthodologies disponibles comprennent: __init__, set_gradient_fill , set_no_full ; et_pattern_fil et Set_solid_fyl. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation du pack Aspose.Cells FOSS pour le pack Pyathon. Propriétés : ‘background_color; 'foreground_colour., ‘patter_type’.

Propriétés

NameTypeAccessDescription
pattern_type``ReadGets the pattern type.
foreground_color``ReadGets the foreground color.
background_color``ReadGets the background color.

méthodes

SignatureDescription
__init__(pattern_type, foreground_color, background_color)Initializes a new instance of Fill class.
set_solid_fill(color)Sets a solid fill pattern with specified color.
set_gradient_fill(start_color, end_color)Sets a gradient fill pattern (currently simplified as solid fill).
set_pattern_fill(pattern_type, fg_color, bg_color)Sets a pattern fill with specified pattern type and colors.
set_no_fill()Sets no fill (transparent background).

Voir aussi

  • Aspose.Cells pour Python — Enterprise API Reference
 Français