ISShape.Align

Description

This property defines how the specified shape is aligned on the form.

Syntax

object.Align

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

Return Value

TSAlign

Example

Display some information about the specified shape, including its align.

Dim aShape
Dim aShapeInfo

Set aShape = Form.Controls_("Shape1")

aShapeInfo =_
  "ShortName: " & aShape.ShortName & vbNewLine &_
  "TypeName: " & aShape.TypeName & vbNewLine &_
  "Align: " & aShape.Align                            
  
Profile.MsgBox(aShapeInfo)  
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