Aspose::Cells::Drawing::IMsoFillFormat Class Referenceabstract

Represents fill formatting for a shape. More...

Inherits Object.

Public Member Functions

virtual intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > GetForeColor ()=0
 Gets and sets the fill fore color. More...
 
virtual void SetForeColor (intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > value)=0
 Gets and sets the fill fore color. More...
 
virtual Aspose::Cells::Systems::Double GetTransparency ()=0
 Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear). More...
 
virtual void SetTransparency (Aspose::Cells::Systems::Double value)=0
 Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear). More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > GetBackColor ()=0
 Gets and sets the file back color. More...
 
virtual void SetBackColor (intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > value)=0
 Gets and sets the file back color. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte > > GetImageData ()=0
 Gets and sets the Texture and Picture fill data. More...
 
virtual void SetImageData (intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >> value)=0
 Gets and sets the Texture and Picture fill data. More...
 
virtual void SetOneColorGradient (intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > color, Aspose::Cells::Systems::Double degree, Aspose::Cells::Drawing::GradientStyleType style, Aspose::Cells::Systems::Int32 variant)=0
 Sets the specified fill to a one-color gradient. More...
 
virtual Aspose::Cells::Drawing::TextureType GetTexture ()=0
 Gets the texture fill type. More...
 
virtual bool IsVisible ()=0
 Indicates whether there is fill. More...
 
virtual void SetVisible (bool value)=0
 Indicates whether there is fill. More...
 

Detailed Description

Represents fill formatting for a shape.

Member Function Documentation

◆ GetBackColor()

virtual intrusive_ptr<Aspose::Cells::Systems::Drawing::Color> Aspose::Cells::Drawing::IMsoFillFormat::GetBackColor ( )
pure virtual

Gets and sets the file back color.

◆ GetForeColor()

virtual intrusive_ptr<Aspose::Cells::Systems::Drawing::Color> Aspose::Cells::Drawing::IMsoFillFormat::GetForeColor ( )
pure virtual

Gets and sets the fill fore color.

◆ GetImageData()

virtual intrusive_ptr<Aspose::Cells::Systems::Array1D<Aspose::Cells::Systems::Byte> > Aspose::Cells::Drawing::IMsoFillFormat::GetImageData ( )
pure virtual

Gets and sets the Texture and Picture fill data.

◆ GetTexture()

virtual Aspose::Cells::Drawing::TextureType Aspose::Cells::Drawing::IMsoFillFormat::GetTexture ( )
pure virtual

Gets the texture fill type.

◆ GetTransparency()

virtual Aspose::Cells::Systems::Double Aspose::Cells::Drawing::IMsoFillFormat::GetTransparency ( )
pure virtual

Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).

◆ IsVisible()

virtual bool Aspose::Cells::Drawing::IMsoFillFormat::IsVisible ( )
pure virtual

Indicates whether there is fill.

◆ SetBackColor()

virtual void Aspose::Cells::Drawing::IMsoFillFormat::SetBackColor ( intrusive_ptr< Aspose::Cells::Systems::Drawing::Color >  value)
pure virtual

Gets and sets the file back color.

◆ SetForeColor()

virtual void Aspose::Cells::Drawing::IMsoFillFormat::SetForeColor ( intrusive_ptr< Aspose::Cells::Systems::Drawing::Color >  value)
pure virtual

Gets and sets the fill fore color.

◆ SetImageData()

virtual void Aspose::Cells::Drawing::IMsoFillFormat::SetImageData ( intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >>  value)
pure virtual

Gets and sets the Texture and Picture fill data.

◆ SetOneColorGradient()

virtual void Aspose::Cells::Drawing::IMsoFillFormat::SetOneColorGradient ( intrusive_ptr< Aspose::Cells::Systems::Drawing::Color >  color,
Aspose::Cells::Systems::Double  degree,
Aspose::Cells::Drawing::GradientStyleType  style,
Aspose::Cells::Systems::Int32  variant 
)
pure virtual

Sets the specified fill to a one-color gradient.

Parameters
colorOne gradient color.
degreeThe gradient degree. Can be a value from 0.0 (dark) through 1.0 (light).
styleGradient shading style.
variantThe gradient variant. Can be a value from 1 through 4, corresponding to one of the four variants on the Gradient tab in the Fill Effects dialog box. If style is GradientStyle.FromCenter, the Variant argument can only be 1 or 2.

◆ SetTransparency()

virtual void Aspose::Cells::Drawing::IMsoFillFormat::SetTransparency ( Aspose::Cells::Systems::Double  value)
pure virtual

Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).

◆ SetVisible()

virtual void Aspose::Cells::Drawing::IMsoFillFormat::SetVisible ( bool  value)
pure virtual

Indicates whether there is fill.