ObjectDCL Banner

FontSize Property

Description

This setting will set the font scaling, by pixels or monitor settings.

Type

This property is a integer. The unit depends on the setting of FontSizeStyle.

Applies For

AngleSlider, BlockList, CheckBox, ComboBox, DwgList, EditableGrid, Frame, GraphicButton, ImageCombo, Label, ListBox, ListView, MonthPicker, Option, OptionList, PictureBox, TabControl, TextBox, TextButton, TreeControl, UrlLink.

Invoking From Old API

Can be passed as "FontSize" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Getter Example

CopyCode imageCopy Code
; Get the property from the control
(setq Value (Odcl_Control_GetFontSize MyProject_MyForm_MyControl))

(setq Value (Odcl_Control_GetFontSize "MyProject" "MyForm" "MyControl"))

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetFontSize MyProject_MyForm_MyControl 12)

(Odcl_Control_SetFontSize "MyProject" "MyForm" "MyControl" 12)

See Also

Font, FontBold, FontItalic, FontSizeStyle, FontStrikeOut, FontUnderline