Center Property
Col, Row Properties
ColWordWrapOption Properties
Collapse the table of content
Expand the table of content

Visual Basic: Windows Controls

Visual Studio 6.0

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.


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)


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.

© 2016 Microsoft