THPDFRectilinearMeasureInfo Record
Ładunek prostoliniowego słownika Measure (ISO 32000-1, Tabela 262; ISO 32000-2, Tabela 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 to proporcja w postaci czytelnej dla człowieka, a tablice XFormats/YFormats formatują wartości osi x i y, przy czym YFormats jest opcjonalna
DistanceFormats, AreaFormats, AngleFormats i SlopeFormats formatują odpowiednie pomiary, dwie ostatnie opcjonalne; OriginX/OriginY niosą opcjonalny punkt początkowy, a CYX stosunek jednostek y do x
THPDFPage.AddRectilinearViewportEx i AddPageRectilinearViewportEx zapisują ten record, a THotPDF.GetLoadedAnnotationMeasure zwraca go z załadowanej adnotacji pomiaru
THPDFNumberFormatEntry · Viewporty strony i pomiar · GetLoadedAnnotationMeasure