THPDFRectilinearMeasureInfo Record

Payload del dizionario Measure rettilineo (ISO 32000-1, Tabella 262; ISO 32000-2, Tabella 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 è il rapporto in forma leggibile e gli array XFormats/YFormats formattano i valori degli assi x e y, con YFormats facoltativo

DistanceFormats, AreaFormats, AngleFormats e SlopeFormats formattano le rispettive misure, le ultime due facoltative; OriginX/OriginY trasportano l'origine facoltativa e CYX il rapporto tra le unità di y e x

THPDFPage.AddRectilinearViewportEx e AddPageRectilinearViewportEx scrivono il record, e THotPDF.GetLoadedAnnotationMeasure lo restituisce da un'annotazione di misura caricata

THPDFNumberFormatEntry · Viewport di pagina e misure · GetLoadedAnnotationMeasure