Visual Basic Reference

Visual Studio 6.0

Size Method

See Also    Example    Applies To

Changes the width and height of a UserControl object.


object.Size width, height

Part Description
object An object expression that evaluates to an object in the Applies To list.
width Required. The width in twips of the object.
height Required. The height in twips of the object.


The Width and Height properties of a UserControl object are always given in Twips, regardless of ScaleMode.