4D v16.3

OBJECT Get font size

Home

 
4D v16.3
OBJECT Get font size

OBJECT Get font size 


 

OBJECT Get font size ( {* ;} object ) -> Function result 
Parameter Type   Description
Operator in If specified, object is an object name (string) If omitted, object is a variable or a field
object  Form object in Object name (if * is specified) or Variable or field (if * is omitted)
Function result  Longint in Size of font in points

The OBJECT Get font size command returns the size (in points) of the character font used by the form object(s) designated by object

If you pass the optional * parameter, you indicate that the object parameter is an object name (string). If you do not pass this parameter, you indicate that the object parameter is a field or a variable. In this case, you pass a field or variable reference (object field or variable only) instead of a string.



See also 

OBJECT SET FONT SIZE

 
PROPERTIES 

Product: 4D
Theme: Objects (Forms)
Number: 1070

 
HISTORY 

Created: 4D v12

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)