Click or drag to resize

LayerTreeClient.ReplaySnapshotAsync Method

Version 130.1.90
Replays the layer snapshot and returns the resulting bitmap.

Namespace: CefSharp.DevTools.LayerTree
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<ReplaySnapshotResponse> ReplaySnapshotAsync(
	string snapshotId,
	int? fromStep = null,
	int? toStep = null,
	double? scale = null
)

Parameters

snapshotId  String
The id of the layer snapshot.
fromStep  Nullable<Int32>  (Optional)
The first step to replay from (replay from the very start if not specified).
toStep  Nullable<Int32>  (Optional)
The last step to replay to (replay till the end if not specified).
scale  Nullable<Double>  (Optional)
The scale to apply while replaying (defaults to 1).

Return Value

Task<ReplaySnapshotResponse>
returns System.Threading.Tasks.Task<ReplaySnapshotResponse>
See Also