This property is True if the specified image control sizes itself automatically to match the dimensions of its content.
object.AutoSize
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISImage interface |
bool
Display AutoSize for the specified image control.
Dim aImage
Dim aImageInfo
Set aImage = Form.Controls_("Image1")
aImageInfo =_
"ShortName: " & aImage.ShortName & vbNewLine &_
"TypeName: " & aImage.TypeName & vbNewLine &_
"Align: " & aImage.Align & vbNewLine &_
"Width: " & aImage.Width & vbNewLine &_
"Height: " & aImage.Height & vbNewLine &_
"Hint: " & aImage.Hint & vbNewLine &_
"Left: " & aImage.Left & vbNewLine &_
"Top: " & aImage.Top & vbNewLine &_
"AutoSize: " & aImage.AutoSize
Profile.MsgBox(aImageInfo)
In Profile Client v8 on User Interface Auto Size can be found in
.