The font of the specified label control.
object.Font
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISLabel interface |
StdFont
Display some information about the specified label control, including its font name and font size.
Dim aLabel
Dim aFont
Dim aLabelInfo
Set aLabel = Form.Controls_("Label1")
set aFont = aLabel.Font
aLabelInfo =_
"Caption: " & aLabel.Caption & vbNewLine &_
"ShortName: " & aLabel.ShortName & vbNewLine &_
"TypeName: " & aLabel.TypeName & vbNewLine &_
"Font Name: " & aFont.Name & vbNewLine &_
"Font Size: " & aFont.Size
Profile.MsgBox(aLabelInfo)
In Profile Client v8 on User Interface Font can be found in
.