Borland C++ 拉伸 TAnimate

Borland C++ stretch a TAnimate

您好,我有一个用 Borland C++Builder 制作的应用程序。我正在为此使用 RAD Studio。

在应用程序中有一个带有 TAnimate(视频对象)的 TForm。我想知道是否可以以某种方式拉伸 TAnimate 对象?

如果我改变对象的大小:

video->Width = newwidth;
video->Height = newheight;

视频没有被拉伸,但视频图像中添加了白色边框。

有什么方法可以缩放视频图像吗?

如果有人告诉我这是不可能的,那也没关系!

也许可以在缩放的 TImage 中转换 TAnimate。

TAnimate 的自动调整 属性 不起作用。

TAnimate 只是 Win32 Animation control 的薄包装,它没有 stretching/scaling 视频选项。连 MSDN 都说:

Note The AVI file, or resource, must not have a sound channel. The capabilities of the animation control are very limited and are subject to change. If you need a control to provide multimedia playback and recording capabilities for your application, you can use the MCIWnd control. For more information, see MCIWnd Window Class.