Click or drag to resize

LayerTreeClientReplaySnapshotAsync 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  NullableInt32  (Optional)
The first step to replay from (replay from the very start if not specified).
toStep  NullableInt32  (Optional)
The last step to replay to (replay till the end if not specified).
scale  NullableDouble  (Optional)
The scale to apply while replaying (defaults to 1).

Return Value

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