Picture

Details about adding and manipulating picture to a worksheet

Basic Code Sample

public void AddPicture()
	{
		Worksheet worksheet = excel.AddSheet("Data4");
		worksheet.AddPicture("./TestFiles/tom_and_jerry.jpg", new()
		{
			imageType = ImageType.JPEG,
			from = new()
			{
				column = 6,
				row = 6
			},
			to = new()
			{
				column = 8,
				row = 8
			}
		});
		Assert.IsTrue(true);
	}

ExcelPictureSetting Options

PropertyTypeDetails

hyperlinkProperties

imageType

ImageType

anchorEditType

AnchorEditType

from

to

HyperlinkProperties Options

PropertyTypeDetails

hyperlinkPropertyType

HyperlinkPropertyType

value

string

toolTip

string

AnchorPosition Options

PropertyTypeDetails

column

uint

columnOffset

uint

row

uint

rowOffset

uint

Last updated