ISSignature.Width

Description

The width of the specified signature control in pixels.

Syntax

object.Width

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

Return Value

int

Example

Display some information about the specified signature control, including its width in pixels.

Dim aSignature
Dim aSignatureInfo

Set aSignature = Form.Controls_("Signature1")
aSignatureInfo =_
  "ShortName: " & aSignature.ShortName & vbNewLine &_
  "Caption: " & aSignature.Caption & vbNewLine &_
  "TypeName: " & aSignature.TypeName & vbNewLine &_  
  "Width: " & aSignature.Width & vbNewLine &_
  "Height: " & aSignature.Height & vbNewLine &_
  "Left: " & aSignature.Left & vbNewLine &_
  "Top: " & aSignature.Top & vbNewLine &_
  "IsModified " & aSignature.IsModified & vbNewLine &_  
  "Enabled: " & aSignature.Enabled              
  
Profile.MsgBox(aSignatureInfo)  
Note: This macro should be executed in any event handler of the form control.

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

Version information

Added in v8.5.0