You can set a font size of a label in the IDE to say 18 Pixels (as opposed to Points). How can I do this programatically?
.FontSize is in Points… per the LR
Pixels vs points depends on the device (retina etc)
A non-retina device is 1:1 points to pixels
A retina device is 2:1
(and for iOS the iPhone 6 is 3:1)
Use the TextUnits property using the FontUnits constants like this:
me.TextUnit = FontUnits.Pixel
for classic framework controls use TextSize and TextUnits
its in the LR for the respective controls