Announcements
No record found.
Hi,
Using Excel buffer, I want to Export a Picture to a excel. (For ex:CompInfo.Picture) using dotnet variable.
Suggestion Please..
Thank you.
*This post is locked for comments
i have never tryed but in this post seem it can be done
forum.mibuso.com/.../exporting-picture-object-to-excel
The Function CreateSheet() in "Excel Buffer" table generates the Shape.
SetPathToPicture(PicturePath:Text[1024]) Here we store in a global variable the Path
FilePathAndName := PicturePath;
in function CreateSheet() we check the Value of the variable FilePathAndName and check if folder and file exist. if both is true, we import the Picture in our shape.
CreateSheet()
//New Code +++++++
if (FilePathAndName <> '') and (Exists(FilePathAndName)) then
XlWrkSht.Shapes.AddPicture(FilePathAndName, 1, 1, 20, 20, 100, 100);
//New Code ------------
Thanks Paolo.
Like, with automation based your inputs should be working fine ,But I want to try with 'DotNet' type.
Thanks
You can check available assembly list in .NET type. You can explore the package Microsoft.Office.Tools.Excel.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
TAHER_El_Mehdi 2
sliderxb 2
broberts 2