ISSignature.AutoSize

Description

This property is True if the specified signature control sizes itself automatically to match the dimensions of its content.

Syntax

object.AutoSize

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

Return Value

bool

Example

Display AutoSize for the specified signature control.

Dim aSignature
Dim aSignatureInfo

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

In Profile Client v8 on User Interface Auto Size cannot be found.

Version information

Added in v8.5.0