Table of Contents

Class XlsBitmapShape

Namespace
Spire.Xls.Core.Spreadsheet.Shapes
Assembly
Spire.XLS.dll
public class XlsBitmapShape : XlsShape, ICloneParent, INamedObject, IDisposable, IPictureShape, IShape, IExcelApplication
Inheritance
XlsBitmapShape
Implements
Derived
Inherited Members

Properties

BlipId

[CLSCompliant(false)]
public uint BlipId { get; }

Property Value

uint

ColorFrom

public Color ColorFrom { get; set; }

Property Value

Color

ColorTo

public Color ColorTo { get; set; }

Property Value

Color

CropBottomOffset

public int CropBottomOffset { get; set; }

Property Value

int

CropLeftOffset

public int CropLeftOffset { get; set; }

Property Value

int

CropRightOffset

public int CropRightOffset { get; set; }

Property Value

int

CropTopOffset

public int CropTopOffset { get; set; }

Property Value

int

FileName

public string FileName { get; set; }

Property Value

string

IsCamera

public bool IsCamera { get; set; }

Property Value

bool

IsDDE

public bool IsDDE { get; set; }

Property Value

bool

Macro

public string Macro { get; set; }

Property Value

string

Picture

public SKBitmap Picture { get; set; }

Property Value

SKBitmap

RefRange

public string RefRange { get; set; }

Property Value

string

ShapeType

public ExcelShapeType ShapeType { get; }

Property Value

ExcelShapeType

Methods

Clone(object, Dictionary<string, string>, Dictionary<int, int>, bool)

public override IShape Clone(object parent, Dictionary<string, string> hashNewNames, Dictionary<int, int> dicFontIndexes, bool addToCollection)

Parameters

parent object
hashNewNames Dictionary<string, string>
dicFontIndexes Dictionary<int, int>
addToCollection bool

Returns

IShape

Compress(int)

Compress the Picture quality for reduce file size

public void Compress(int quality)

Parameters

quality int

picture quality.Range is 0~100

Dispose()

public void Dispose()
public HyperLink GetHyperLink()

Returns

HyperLink

Remove(bool)

public void Remove(bool removeImage)

Parameters

removeImage bool
public void SetHyperLink(string linkString, bool isExternal)

Parameters

linkString string
isExternal bool