ISImage.Center

Description

The property is True if the image is centered in the image control.

Syntax

object.Center

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

Return Value

bool

Example

Display Center for the image control.

Dim aImage
Dim aImageInfo

Set aImage = Form.Controls_("Image2")
aImageInfo =_
  "Type Name: " & aImage.TypeName & vbNewLine &_ 
  "ShortName: " & aImage.ShortName & vbNewLine &_
  "Center: " & aImage.Center 
  
Profile.MsgBox(aImageInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Center can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the image control in the controls tree > Properties > Center.

Version information

Added in v7.8.0