THPDFGeoMeasureInfo Record

Geospatial Measure dictionary payload for viewport measures (ISO 32000-2:2020 Table 269, /Subtype /GEO)

THPDFGeoMeasureInfo = record
  GCS: THPDFCoordinateSystemInfo;
  HasDCS: boolean;
  DCS: THPDFCoordinateSystemInfo;
  LinearUnit: AnsiString;
  AreaUnit: AnsiString;
  AngularUnit: AnsiString;
  Bounds: array of Double;
  GPTS: array of Double;
  LPTS: array of Double;
end;

GCS is the geographic or projected coordinate system and HasDCS/DCS an optional datum shift, while LinearUnit, AreaUnit and AngularUnit name the display units

Bounds holds the /B bounds numbers, GPTS the /GPTS geographic tie points and LPTS the /LPTS page-space pairs, each as a flat array

THPDFPage.AddGeospatialViewport and AddPageGeospatialViewport write the record, and THotPDF.GetLoadedAnnotationMeasure returns it from a loaded measure annotation

THPDFCoordinateSystemInfo · Page viewports and measures · GetLoadedAnnotationMeasure