Aspose::Cells::Drawing::IFillFormat Class Referenceabstract

Encapsulates the object that represents fill formatting for a shape. More...

Inherits Object.

Inherited by Aspose::Cells::Drawing::ILineFormat [virtual].

Public Member Functions

virtual Aspose::Cells::Drawing::FillType GetType ()=0
 Gets the fill type. More...
 
virtual void SetType (Aspose::Cells::Drawing::FillType value)=0
 Sets the fill type. More...
 
virtual Aspose::Cells::Drawing::FillType GetFillType ()=0
 Gets fill type More...
 
virtual void SetFillType (Aspose::Cells::Drawing::FillType value)=0
 Sets fill type More...
 
virtual Aspose::Cells::Systems::Double GetTransparency ()=0
 Returns or sets the degree of transparency of the area 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 area as a value from 0.0 (opaque) through 1.0 (clear). More...
 
virtual Aspose::Cells::Drawing::FormatSetType GetSetType ()=0
 Gets the fill format set type. More...
 
virtual void SetSetType (Aspose::Cells::Drawing::FormatSetType value)=0
 Gets the fill format set type. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IGradientFillGetIGradientFill ()=0
 Gets IGradientFill object. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::ITextureFillGetITextureFill ()=0
 Gets ITextureFill object. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::ISolidFillGetISolidFill ()=0
 Gets ISolidFill object. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IPatternFillGetIPatternFill ()=0
 Gets IPatternFill object. More...
 
virtual Aspose::Cells::Drawing::GradientColorType GetGradientColorType ()=0
 Returns the gradient color type for the specified fill. More...
 
virtual Aspose::Cells::Drawing::GradientStyleType GetGradientStyle ()=0
 Returns the gradient style for the specified fill. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > GetGradientColor1 ()=0
 Returns the gradient color 1 for the the specified fill. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > GetGradientColor2 ()=0
 Returns the gradient color 2 for the the specified fill. More...
 
virtual Aspose::Cells::Systems::Double GetGradientDegree ()=0
 Returns the gradient degree for the the specified fill. More...
 
virtual Aspose::Cells::Systems::Int32 GetGradientVariant ()=0
 Returns the gradient variant for the the specified fill. More...
 
virtual Aspose::Cells::Drawing::GradientPresetType GetPresetColor ()=0
 Returns the gradient preset color for the the specified fill. 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 void SetTwoColorGradient (intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > color1, intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > color2, Aspose::Cells::Drawing::GradientStyleType style, Aspose::Cells::Systems::Int32 variant)=0
 Sets the specified fill to a two-color gradient. More...
 
virtual void SetTwoColorGradient (intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > color1, Aspose::Cells::Systems::Double transparency1, intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > color2, Aspose::Cells::Systems::Double transparency2, Aspose::Cells::Drawing::GradientStyleType style, Aspose::Cells::Systems::Int32 variant)=0
 Sets the specified fill to a two-color gradient. More...
 
virtual void SetPresetColorGradient (Aspose::Cells::Drawing::GradientPresetType presetColor, Aspose::Cells::Drawing::GradientStyleType style, Aspose::Cells::Systems::Int32 variant)=0
 Sets the specified fill to a preset-color gradient. More...
 
virtual Aspose::Cells::Drawing::TextureType GetTexture ()=0
 Represents the texture type for the specified fill. More...
 
virtual void SetTexture (Aspose::Cells::Drawing::TextureType value)=0
 Represents the texture type for the specified fill. More...
 
virtual Aspose::Cells::Drawing::FillPattern GetPattern ()=0
 Represents an area's display pattern. More...
 
virtual void SetPattern (Aspose::Cells::Drawing::FillPattern value)=0
 Represents an area's display pattern. More...
 
virtual Aspose::Cells::Drawing::FillPictureType GetPictureFormatType ()=0
 Gets the picture format type. More...
 
virtual void SetPictureFormatType (Aspose::Cells::Drawing::FillPictureType value)=0
 Sets the picture format type. More...
 
virtual Aspose::Cells::Systems::Double GetScale ()=0
 Gets the picture format scale. More...
 
virtual void SetScale (Aspose::Cells::Systems::Double value)=0
 Sets the picture format scale. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte > > GetImageData ()=0
 Gets the picture image data. More...
 
virtual void SetImageData (intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >> value)=0
 Sets the picture image data. More...
 

Detailed Description

Encapsulates the object that represents fill formatting for a shape.

Member Function Documentation

◆ GetFillType()

virtual Aspose::Cells::Drawing::FillType Aspose::Cells::Drawing::IFillFormat::GetFillType ( )
pure virtual

Gets fill type

◆ GetGradientColor1()

virtual intrusive_ptr<Aspose::Cells::Systems::Drawing::Color> Aspose::Cells::Drawing::IFillFormat::GetGradientColor1 ( )
pure virtual

Returns the gradient color 1 for the the specified fill.

◆ GetGradientColor2()

virtual intrusive_ptr<Aspose::Cells::Systems::Drawing::Color> Aspose::Cells::Drawing::IFillFormat::GetGradientColor2 ( )
pure virtual

Returns the gradient color 2 for the the specified fill.

Only when the graident color type is GradientColorType.TwoColors, this property is meaningful.

◆ GetGradientColorType()

virtual Aspose::Cells::Drawing::GradientColorType Aspose::Cells::Drawing::IFillFormat::GetGradientColorType ( )
pure virtual

Returns the gradient color type for the specified fill.

◆ GetGradientDegree()

virtual Aspose::Cells::Systems::Double Aspose::Cells::Drawing::IFillFormat::GetGradientDegree ( )
pure virtual

Returns the gradient degree for the the specified fill.

Can only be a value from 0.0 (dark) through 1.0 (light).

◆ GetGradientStyle()

virtual Aspose::Cells::Drawing::GradientStyleType Aspose::Cells::Drawing::IFillFormat::GetGradientStyle ( )
pure virtual

Returns the gradient style for the specified fill.

◆ GetGradientVariant()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Drawing::IFillFormat::GetGradientVariant ( )
pure virtual

Returns the gradient variant for the the specified fill.

Can only 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.

◆ GetIGradientFill()

virtual intrusive_ptr<Aspose::Cells::Drawing::IGradientFill> Aspose::Cells::Drawing::IFillFormat::GetIGradientFill ( )
pure virtual

Gets IGradientFill object.

◆ GetImageData()

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

Gets the picture image data.

If the fill format is not custom texture format,return null.

◆ GetIPatternFill()

virtual intrusive_ptr<Aspose::Cells::Drawing::IPatternFill> Aspose::Cells::Drawing::IFillFormat::GetIPatternFill ( )
pure virtual

Gets IPatternFill object.

◆ GetISolidFill()

virtual intrusive_ptr<Aspose::Cells::Drawing::ISolidFill> Aspose::Cells::Drawing::IFillFormat::GetISolidFill ( )
pure virtual

Gets ISolidFill object.

◆ GetITextureFill()

virtual intrusive_ptr<Aspose::Cells::Drawing::ITextureFill> Aspose::Cells::Drawing::IFillFormat::GetITextureFill ( )
pure virtual

Gets ITextureFill object.

◆ GetPattern()

virtual Aspose::Cells::Drawing::FillPattern Aspose::Cells::Drawing::IFillFormat::GetPattern ( )
pure virtual

Represents an area's display pattern.

◆ GetPictureFormatType()

virtual Aspose::Cells::Drawing::FillPictureType Aspose::Cells::Drawing::IFillFormat::GetPictureFormatType ( )
pure virtual

Gets the picture format type.

◆ GetPresetColor()

virtual Aspose::Cells::Drawing::GradientPresetType Aspose::Cells::Drawing::IFillFormat::GetPresetColor ( )
pure virtual

Returns the gradient preset color for the the specified fill.

◆ GetScale()

virtual Aspose::Cells::Systems::Double Aspose::Cells::Drawing::IFillFormat::GetScale ( )
pure virtual

Gets the picture format scale.

◆ GetSetType()

virtual Aspose::Cells::Drawing::FormatSetType Aspose::Cells::Drawing::IFillFormat::GetSetType ( )
pure virtual

Gets the fill format set type.

◆ GetTexture()

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

Represents the texture type for the specified fill.

◆ GetTransparency()

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

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

◆ GetType()

virtual Aspose::Cells::Drawing::FillType Aspose::Cells::Drawing::IFillFormat::GetType ( )
pure virtual

Gets the fill type.

◆ SetFillType()

virtual void Aspose::Cells::Drawing::IFillFormat::SetFillType ( Aspose::Cells::Drawing::FillType  value)
pure virtual

Sets fill type

◆ SetImageData()

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

Sets the picture image data.

If the fill format is not custom texture format,return null.

◆ SetOneColorGradient()

virtual void Aspose::Cells::Drawing::IFillFormat::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.

◆ SetPattern()

virtual void Aspose::Cells::Drawing::IFillFormat::SetPattern ( Aspose::Cells::Drawing::FillPattern  value)
pure virtual

Represents an area's display pattern.

◆ SetPictureFormatType()

virtual void Aspose::Cells::Drawing::IFillFormat::SetPictureFormatType ( Aspose::Cells::Drawing::FillPictureType  value)
pure virtual

Sets the picture format type.

◆ SetPresetColorGradient()

virtual void Aspose::Cells::Drawing::IFillFormat::SetPresetColorGradient ( Aspose::Cells::Drawing::GradientPresetType  presetColor,
Aspose::Cells::Drawing::GradientStyleType  style,
Aspose::Cells::Systems::Int32  variant 
)
pure virtual

Sets the specified fill to a preset-color gradient.

Parameters
presetColorPreset color type
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.

◆ SetScale()

virtual void Aspose::Cells::Drawing::IFillFormat::SetScale ( Aspose::Cells::Systems::Double  value)
pure virtual

Sets the picture format scale.

◆ SetSetType()

virtual void Aspose::Cells::Drawing::IFillFormat::SetSetType ( Aspose::Cells::Drawing::FormatSetType  value)
pure virtual

Gets the fill format set type.

◆ SetTexture()

virtual void Aspose::Cells::Drawing::IFillFormat::SetTexture ( Aspose::Cells::Drawing::TextureType  value)
pure virtual

Represents the texture type for the specified fill.

◆ SetTransparency()

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

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

◆ SetTwoColorGradient() [1/2]

virtual void Aspose::Cells::Drawing::IFillFormat::SetTwoColorGradient ( intrusive_ptr< Aspose::Cells::Systems::Drawing::Color >  color1,
intrusive_ptr< Aspose::Cells::Systems::Drawing::Color >  color2,
Aspose::Cells::Drawing::GradientStyleType  style,
Aspose::Cells::Systems::Int32  variant 
)
pure virtual

Sets the specified fill to a two-color gradient.

Parameters
color1One gradient color.
color2Two gradient color.
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.

◆ SetTwoColorGradient() [2/2]

virtual void Aspose::Cells::Drawing::IFillFormat::SetTwoColorGradient ( intrusive_ptr< Aspose::Cells::Systems::Drawing::Color >  color1,
Aspose::Cells::Systems::Double  transparency1,
intrusive_ptr< Aspose::Cells::Systems::Drawing::Color >  color2,
Aspose::Cells::Systems::Double  transparency2,
Aspose::Cells::Drawing::GradientStyleType  style,
Aspose::Cells::Systems::Int32  variant 
)
pure virtual

Sets the specified fill to a two-color gradient.

Parameters
color1One gradient color.
transparency1The degree of transparency of the color1 as a value from 0.0 (opaque) through 1.0 (clear).
color2Two gradient color.
transparency2The degree of transparency of the color2 as a value from 0.0 (opaque) through 1.0 (clear).
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.

◆ SetType()

virtual void Aspose::Cells::Drawing::IFillFormat::SetType ( Aspose::Cells::Drawing::FillType  value)
pure virtual

Sets the fill type.