TIEPolylineLayer.AutoSize
Declaration
property AutoSize: boolean;
Description
Points for polyline layers are specified in range values from 0 - 1000 (where 0 is the left/top of the layer and 1000 the right or bottom). When
AutoSize is enabled, your points will be automatically checked to ensure they are within the range, and if not, the layer will be moved and/or scaled appropriately.
Default: True
// In this example we only set values in the range 0 - 500, so AutoSize will halve the size of the layer
With TIEPolylineLayer( ImageEnView1.CurrentLayer ) do
begin
ClearAllPoints();
AddPoint( 250, 0 );
AddPoint( 500, 500 );
AddPoint( 0, 500 );
end;
ImageEnView1.Update();