Click or drag to resize

LayerTreeClient.ReplaySnapshotAsync Method

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

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

Parameters

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

Return Value

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