ISImage.Align

Description

This property defines how the specified image control is aligned on the form.

Syntax

object.Align

Part Attribute Type Description
object Required
The object always implements the ISImage interface

Return Value

TSAlign

Example

Display some information about the specified image control, including its align.

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 &_
  "Tag: " & aImage.Tag                
  
Profile.MsgBox(aImageInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Align cannot be found.

Version information

Added in v7.8.0