THPDFRectilinearMeasureInfo Record

Carga del diccionario Measure rectilíneo (ISO 32000-1, Tabla 262; ISO 32000-2, Tabla 267, /Subtype /RL)

THPDFRectilinearMeasureInfo = record
  ScaleRatio: AnsiString;                     // /R (required)
  XFormats: THPDFNumberFormatEntryArray;      // /X (required)
  YFormats: THPDFNumberFormatEntryArray;      // /Y (optional)
  DistanceFormats: THPDFNumberFormatEntryArray; // /D (required)
  AreaFormats: THPDFNumberFormatEntryArray;   // /A (required)
  AngleFormats: THPDFNumberFormatEntryArray;  // /T (optional)
  SlopeFormats: THPDFNumberFormatEntryArray;  // /S (optional)
  HasOrigin: boolean;
  OriginX: Double;                            // /O [OriginX OriginY]
  OriginY: Double;
  HasCYX: boolean;
  CYX: Double;                                // /CYX
end;

ScaleRatio es la razón en formato legible y los arrays XFormats/YFormats dan formato a los valores de los ejes x e y, con YFormats opcional

DistanceFormats, AreaFormats, AngleFormats y SlopeFormats dan formato a las mediciones respectivas, las dos últimas opcionales; OriginX/OriginY transportan el origen opcional y CYX la razón de unidades de y a x

THPDFPage.AddRectilinearViewportEx y AddPageRectilinearViewportEx escriben el registro, y THotPDF.GetLoadedAnnotationMeasure lo devuelve desde una anotación de medición cargada

THPDFNumberFormatEntry Record · Viewports de página y medición · Método THotPDF.GetLoadedAnnotationMeasure