Home > Back-end >  Ask how to intercept the Delphi graphics beyond the window scroll bar?
Ask how to intercept the Delphi graphics beyond the window scroll bar?

Time:10-21




Window the position beyond the window size of internal control, need to take the scroll bar to see the other part, want to complete all controls within the capture window images, is outside of the scroll, how do you capture?
Baidu a lot of method, can only capture visible part, can't see won't capture it

CodePudding user response:

If you are a FMX project
You can try this:

 
Var
VImg: TImage;

The begin
//vImg finally got it should be you want to capture images,
VImg:=TImage. Create (Self);
//vControl is your window that internal control should be inherited to TControl class,
VImg. Bitmap. Assign (vControl. MakeScreenshot);
end;


CodePudding user response:

Is the VCL, tried a Panel, no MakeScreenshot
  • Related