13. März 2017 11:01
IF Picture.HASVALUE THEN BEGIN
Picture.CREATEINSTREAM(streamIn);
outFile.CREATE(ExcelExport+"No."+'.bmp');
outFile.CREATEOUTSTREAM(streamOut);
COPYSTREAM(streamOut, streamIn);
outFile.CLOSE;
END;
IF EXISTS(ExcelExport+"No."+'.bmp') THEN BEGIN
xlRange := Sheet.Range('B'+q);
xlRange.RowHeight := 235;
xlRange.ColumnWidth := 50;
EVALUATE(PosX, FORMAT(xlRange.Left));
EVALUATE(PosY, FORMAT(xlRange.Top));
xlShape:=Sheet.Shapes.AddPicture(ExcelExport+
"No."+'.bmp',1, 1,PosX+5,PosY+5,-1,-1);
xlShape.Select;
xlShape.Placement(1);
MODIFY;
End;
13. März 2017 12:20
13. März 2017 12:27