Hello,
i use imageenvect1 for CAD Plan
i need print a section from a plan
this code is not work...
if not imageenvect1.Selected then
begin
ShowMessage('Please select an image region');
exit;
end;
tempbmp := TBitmap.Create;
io := TImageEnIO.Create(self);
io.AttachedBitmap := tempbmp;
imageenvect1.CopySelectionToBitmap(tempbmp);
io.DoPrintPreviewDialog(iedtDialog, '');
io.free;
tempbmp.free;
i use this to print All:
imageenvect1.IO.DoPrintPreviewDialog(iedtDialog,'');
give a solution for print a selected region?
best regards peter