ImageEn, unit iexOtherClasses

TIERFBClient.Suspended

TIERFBClient.Suspended


Declaration

property Suspended: boolean;


Description

Setting this property you can suspend frame buffer updates.
This is useful when applications need to do some processing on the framebuffer (like save it).
When suspended TIERFBClient continues to receive messages and updates from the server, but they do not update the frame buffer.
Events like OnUpdate and OnUpdateRect are disabled when connection is in suspended state.


Example

rfb.Suspended := true;
try
  ImageEnView.IO.SaveToFile('curentframe.jpg');
finally
  rfb.Suspended := false;
end;