Class GenericImageHandler
Inheritance
System.Object
GenericImageHandler
Implements
OfficeOpenXml.Interfaces.Drawing.Image.IImageHandler
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 class GenericImageHandler : IImageHandler
Properties
LastException
Declaration
public Exception LastException { get; }
Property Value
Type | Description |
---|---|
System.Exception |
SupportedTypes
Declaration
public HashSet<ePictureType> SupportedTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.HashSet<OfficeOpenXml.Drawing.ePictureType> |
Methods
GetImageBounds(MemoryStream, ePictureType, out Double, out Double, out Double, out Double)
Declaration
public bool GetImageBounds(MemoryStream image, ePictureType type, out double width, out double height, out double horizontalResolution, out double verticalResolution)
Parameters
Type | Name | Description |
---|---|---|
System.IO.MemoryStream | image | |
OfficeOpenXml.Drawing.ePictureType | type | |
System.Double | width | |
System.Double | height | |
System.Double | horizontalResolution | |
System.Double | verticalResolution |
Returns
Type | Description |
---|---|
System.Boolean |
ValidForEnvironment()
Declaration
public bool ValidForEnvironment()
Returns
Type | Description |
---|---|
System.Boolean |
Implements
OfficeOpenXml.Interfaces.Drawing.Image.IImageHandler