function PointsToInches(Points: Double): Double;
Statički pomoćni alat koji pretvara mjernu vrijednost između piksel / točka / inč jedinica. PDF koordinate su izražene u točkama (1 pt = 1/72 inča).
Pretvorite PDF točke u inče. Formula pretvorbe je value / 72.
These helpers are class functions; you can call them without instantiating TPdf (e.g. TPdf.PointsToInches(96)).
*To* functions on TPdf and TPdfView.
var
Margin: Double;
begin
Margin := TPdf.PointsToInches(300);
Memo1.Lines.Add(Format('PointsToInches(300) = %.4f', [Margin]));
end;