Vcl.ComCtrls.TAnimate.Center

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Center: Boolean read FCenter write SetCenter default True;

C++

__property bool Center = {read=FCenter, write=SetCenter, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TAnimate

Description

Determines whether the frames of the AVI clip are centered in the animation control.

Use Center to position the frames of the clip in the animation control when FrameHeight is not the same as ClientHeight or FrameWidth is not the same as ClientWidth. When Center is true, the frames are centered both horizontally and vertically in the client area of the control. When Center is false, the top left corner of the frames is positioned at the top left corner of the client area.

See Also