- Code: Select all Expand view RUN
oDlg:SaveAsImage( cImageFile, aRect )
cImageFile can be .bmp, .jpg. ,png, etc.
aRect is the rectangle you want to
crop and save. : { nTop, nLeft, nBottom, nRight }
This works with Window, Dialog or any Control, to
crop a rectangle inside and save.