TLayeredImage32.GetMergedImage

function GetMergedImage(hideDesigners: Boolean = false): TImage32; overload;

function GetMergedImage(hideDesigners: Boolean; out updateRect: TRect): TImage32; overload;


Returns all visible layers inside the TLayeredImage32's bounds merged into a single image.

When an updateRect parameter is specified, the method will return with the bounds indicating only the region that has been modified since the previous call to GetMergedImage. This can greatly speed up image rendering.