I think it should be like this in Delphi: Since size and height change the same value with a slightly different meaning (PPI) whichever value was set, the other one is rounded and gets a negative value. If you set size you should get a negative height and vice versa.