06-15-2023, 05:03 AM
When you set the size of the font in points (property Size) IntraWeb automatically calculates and updates the property PxSize which contains the font size in pixels.
You can also use
class function TIWFont.PtToPx(AFontSize: Integer): Integer;
Just use it like:
PxSize := TIWFont.PtToPx(12);
You can also use
class function TIWFont.PtToPx(AFontSize: Integer): Integer;
Just use it like:
PxSize := TIWFont.PtToPx(12);