You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var p1 = wbPart.Parts
.Where(p => p.OpenXmlPart.ContentType is "application/vnd.ms-excel.richvaluerel+xml")
.Select(p => p.OpenXmlPart)
.Cast<ExtendedPart>()
.FirstOrDefault();
var ip = p1.Parts
.Select(p => new { Id = p.RelationshipId, Part = p.OpenXmlPart as ImagePart })
.ToList()
however I have no idea how to rel them against a cell
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
is there a way to read localimage's from excel files?
the excel file got created by adding a picture to a cell.
And I basically already tried everything to get the relationship between the cell and the image.
worksheet.Pictures is empty
I also used OpenXML already where DrawingParts is completly empty.
I'm pretty sure I'm looking at the wrong thing. but how hard can such a thing really be...
This is a example file
Mappe1.xlsx
edit in openxml i can at least get them via:
however I have no idea how to rel them against a cell
Beta Was this translation helpful? Give feedback.
All reactions