Skip to content

Label_FontSize - cComActiveXControl

The font size of the object's label

Type: Property
Access: Read/Write
Data Type: FoldedInteger
Parameters: None

Parameters

Parameter Type Description
iHeight Integer

Syntax

Property FoldedInteger Label_FontSize
Access Type Syntax
Read Access: Get Label_FontSize to FoldedIntegerVariable
Write Access: Set Label_FontSize to FoldedIntegerVariable/Value

Description

Determines the font size of the object's label.

The default is 0;0. When Label_FontSize is 0;0 and Label_FontWeight is 0, the font size and font weight of the parent container are used.

When this property is set, two integer parameters are passed as specified in the parameter list. When the value of the property is retrieved, the value of these two properties is returned as a folded integer. The value of these parameters can be accessed using the hi() and low() functions.

The property is set as follows:

Set Label_FontSize to iHeight iWidth

The property is retrieved as follows:

Get Label_FontSize to iValue
Move (Hi(iValue)) to iHeight
Move (Low(iValue)) to iWidth