PDFiumVCL Docs

PointsToInches method

Bu API girdisi tanımlayıcıları, imzaları, kod bloklarını ve PDF terimlerini özgün biçiminde korur.
Component: TPdf  ·  Unit: PDFium
Convert PDF points to inches.

Syntax

class function PointsToInches(Points: Double): Double;

Description

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.

These helpers are class functions; you can call them without instantiating TPdf (e.g. TPdf.PointsToInches(96)).

Remarks

Example

var
  Margin: Double;
begin
  Margin := TPdf.PointsToInches(300);
  Memo1.Lines.Add(Format('PointsToInches(300) = %.4f', [Margin]));
end;

See Also

PixelsToInches, PixelsToPoints, PointsToPixels