Visual Basic: Windows Controls

Center Property

See Also   Example   Applies To

Determines whether the .avi file is centered within the Animation control. When set to True (the default), the .avi is displayed in the center of the control, based on the size of the image. When set to False, the .avi is positioned at 0,0 within the control.

Syntax

object.Center [= boolean]

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
boolean Required. A Boolean expression specifying whether the AVI file is centered within the control.

Data Type

Integer (Boolean)

Remarks

If the Center property is set to True, and the .avi frame size is larger than the control, the edges of the .avi frames will not be shown as the file plays.