Class ExcelDrawingBlipFill
A picture fill for a drawing
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Drawing.Style.Fill
Assembly: EPPlus.dll
Syntax
public class ExcelDrawingBlipFill : ExcelDrawingFillBase, IPictureContainer
Properties
Effects
Blip fill effects
Declaration
public ExcelDrawingBlipEffects Effects { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingBlipEffects |
Image
The picture used in the fill.
Declaration
public Image Image { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Image |
ImageFormat
Image format If the picture is created from an Image this type is always Jpeg
Declaration
public ImageFormat ImageFormat { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Imaging.ImageFormat |
SourceRectangle
The portion of the image to be used for the fill. Offset values are in percentage from the borders of the image
Declaration
public ExcelDrawingRectangle SourceRectangle { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingRectangle |
Stretch
The image should be stretched to fill the target.
Declaration
public bool Stretch { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
StretchOffset
Offset in percentage from the edge of the shapes bounding box. This property only apply when Stretch is set to true.
Stretch
Declaration
public ExcelDrawingRectangle StretchOffset { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingRectangle |
Style
The type of fill
Declaration
public override eFillStyle Style { get; }
Property Value
Type | Description |
---|---|
eFillStyle |
Overrides
Tile
The image should be tiled to fill the available space
Declaration
public ExcelDrawingBlipFillTile Tile { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingBlipFillTile |