Notifications
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
HoangNam 7