type TSPdfBasicRange = class public function Create(); function Do();virtual; public StartX: real; StartY: real; // range的起始坐标(x,y) EndX: real; EndY: real; // range的结束坐标(x,y) Width: real; FixedHeight: real; DynamicHeight: real; Page: PdfPage; end; function TSPdfBasicRange.Create(); begin self.StartX := 0; self.StartY := 0; self.EndX := 0; self.EndY := 0; self.Width := 0; self.FixedHeight := 0; self.DynamicHeight := 0; self.Page := nil; end;