function PointsToInches(Points: Double): Double;
Static helper that converts a measurement value between pixel / point / inch units. PDF coordinates are expressed in points (1 pt = 1/72 inch)
Convert PDF points to inches. The conversion formula is value / 72
Unit-level helper function in the PDFium unit; can be called without instantiating TPdf (e.g. PointsToInches(72))
*To* functions on TPdf and TPdfView
var
Margin: Double;
begin
Margin := PointsToInches(300);
Memo1.Lines.Add(Format('PointsToInches(300) = %.4f', [Margin]));
end;