Class ExcelPicture
An image object
Implements
System.IDisposable
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
Assembly: EPPlus.dll
Syntax
public sealed class ExcelPicture : ExcelDrawing, IDisposable
Properties
Border
Access to Fill properties
Declaration
public ExcelDrawingBorder Border { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingBorder |
DrawingType
The type of drawing
Declaration
public override eDrawingType DrawingType { get; }
Property Value
Type | Description |
---|---|
eDrawingType |
Overrides
Effect
Effects
Declaration
public ExcelDrawingEffectStyle Effect { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingEffectStyle |
Fill
Access to Fill properties
Declaration
public ExcelDrawingFill Fill { get; }
Property Value
Type | Description |
---|---|
ExcelDrawingFill |
Image
The image
Declaration
public ExcelImage Image { get; }
Property Value
Type | Description |
---|---|
ExcelImage |
LockAspectRatio
Lock aspect ratio
Declaration
public bool LockAspectRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PreferRelativeResize
Relative to original picture size
Declaration
public bool PreferRelativeResize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Dispose()
Dispose the object
Declaration
public override void Dispose()
Overrides
SetSize(Int32)
Set the size of the image in percent from the orginal size Note that resizing columns / rows after using this function will effect the size of the picture
Declaration
public override void SetSize(int Percent)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Percent | Percent |
Overrides
Implements
System.IDisposable