bcb timage_如何清除TImage控件中的图形

在Delphi中,要清除TImage控件中的图像,可以将Picture属性设置为nil,或者使用Picture.Assign(nil)方法。这两种方法都可以有效地清空TImage上的显示内容。
摘要由CSDN通过智能技术生成

bcb timage

Delphi programmers use the TImage control to display an image. These are files that end in extensions including ICO, BMP, WMF, WMF, GIF, and JPG. The Picture property specifies the image that appears in the TImage control. Delphi supports several different methods for assigning an image for the TImage component: a TPicture's method LoadFromFile reads graphics from disk or the Assign method obtains the image from Clipboard, for example.

Delphi程序员使用TImage控件显示图像。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值