如何在 C# Windows 应用程序中创建显示的图像缩略图数组?
我想在 C# Windows 应用程序中创建显示的图像缩略图数组。
我希望每个图像都可以选择迁移到图片框中。
有人建造过这样的东西吗?
我正在尝试找出最快/最有效的方法来做到这一点。我已经考虑过一个其中显示图像集合的面板。
I want to create a displayed array of image thumbnails in a C# Windows app.
I would like each image to be selectable for migration into a picturebox.
Has anyone built something like this?
I am trying to figure the quickest/ most efficient way to do it. I have already considered a panel with a collection of images displayed therein.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您可以使用 Image.GetThumbnailImage() 获取所需图像的缩略图,并将它们放置在图片框控件中,该控件将根据要显示的图像数量动态创建,然后使用拖放操作从面板上的缩略图图片框控件,用于显示全尺寸图像等。
I think that you can use the Image.GetThumbnailImage() to get a thumbnail of required images and place them in picturebox controls which will be created dynamically depending on the count of images to be displayed and then use the drag and drop to drag image from a tumbnail picturebox control to a panel for displaying the full size image etc.