ExcelFile.AddImage(TUIImage, TImageProperties)
ExcelFile.AddImage(Byte[], TImageProperties)
ExcelFile.AddImage(Stream, TImageProperties)
ExcelFile.AddImage(String, TImageProperties)
ExcelFile.AddImage(Byte[], TXlsImgType, TImageProperties)
ExcelFile.AddImage(Stream, TXlsImgType, TImageProperties)
ExcelFile.AddImage(Int32, Int32, TUIImage)
ExcelFile.AddImage(TUIImage, TImageProperties)
Adds a new image to the active sheet. If you don't have the image already created, prefer using
AddImage(Stream, TImageProperties)
, as it is faster.
Note that for SVG images, xlsx files store both a PNG and SVG image. To enter an SVG image, use
AddImageAlternate
Saving a WMF or EMF Image is not currently supported by the .NET framework.
If you pass a MetaFile to this method, it will be saved as png.
For inserting a REAL wmf into excel use
AddImage(Stream, TImageProperties)
Syntax
Namespace:
FlexCel.Core
public void AddImage(TUIImage img, TImageProperties imageProperties)
Parameters
Parameter
Description
ExcelFile.AddImage(Byte[], TImageProperties)
Adds an image to the active sheet. It will try to automatically guess/convert the image type of the data to the better fit.
Note that for SVG images, xlsx files store both a PNG and SVG image. To enter an SVG image, use
AddImageAlternate
Syntax
Namespace:
FlexCel.Core
public void AddImage(Byte[] data, TImageProperties imageProperties)
Parameters
Parameter
Description
ExcelFile.AddImage(Stream, TImageProperties)
Adds an image to the active sheet.
Note that for SVG images, xlsx files store both a PNG and SVG image. To enter an SVG image, use
AddImageAlternate
Syntax
Namespace:
FlexCel.Core
public void AddImage(Stream aStream, TImageProperties imageProperties)
Parameters
Parameter
Description
ExcelFile.AddImage(String, TImageProperties)
Adds an image to the active sheet.
Note that for SVG images, xlsx files store both a PNG and SVG image. To enter an SVG image, use
AddImageAlternate
Syntax
Namespace:
FlexCel.Core
public void AddImage(String fileName, TImageProperties imageProperties)
Parameters
Parameter
Description
ExcelFile.AddImage(Byte[], TXlsImgType, TImageProperties)
Adds an image to the active sheet.
Note that for SVG images, xlsx files store both a PNG and SVG image. To enter an SVG image, use
AddImageAlternate
Syntax
Namespace:
FlexCel.Core
public abstract void AddImage(Byte[] data, TXlsImgType imageType, TImageProperties imageProperties)
Parameters
Parameter
Description
ExcelFile.AddImage(Stream, TXlsImgType, TImageProperties)
Adds an image to the active sheet.
Note that for SVG images, xlsx files store both a PNG and SVG image. To enter an SVG image, use
AddImageAlternate
Syntax
Namespace:
FlexCel.Core
public void AddImage(Stream aStream, TXlsImgType imageType, TImageProperties imageProperties)
Parameters
Parameter
Description
ExcelFile.AddImage(Int32, Int32, TUIImage)
Adds a new image to the active sheet. If you don't have the image already created, prefer using
AddImage(Stream, TImageProperties)
, as it is faster.
Note that for SVG images, xlsx files store both a PNG and SVG image. To enter an SVG image, use
AddImageAlternate
Saving a WMF or EMF Image is not currently supported by the .NET framework.
If you pass a MetaFile to this method, it will be saved as png.
For inserting a REAL wmf into excel use
AddImage(Stream, TImageProperties)
Syntax
Namespace:
FlexCel.Core
public void AddImage(Int32 row, Int32 col, TUIImage img)
Parameters
Parameter
Description