LayerTreeClientReplaySnapshotAsync Method |
Version 86.0.240
Replays the layer snapshot and returns the resulting bitmap.
Namespace:
CefSharp.DevTools.LayerTree
Assembly:
CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax public Task<ReplaySnapshotResponse> ReplaySnapshotAsync(
string snapshotId,
Nullable<int> fromStep = null,
Nullable<int> toStep = null,
Nullable<long> scale = null
)
public:
Task<ReplaySnapshotResponse^>^ ReplaySnapshotAsync(
String^ snapshotId,
Nullable<int> fromStep = nullptr,
Nullable<int> toStep = nullptr,
Nullable<long long> scale = nullptr
)
Parameters
- snapshotId
- Type: SystemString
The id of the layer snapshot. - fromStep (Optional)
- Type: SystemNullableInt32
The first step to replay from (replay from the very start if not specified). - toStep (Optional)
- Type: SystemNullableInt32
The last step to replay to (replay till the end if not specified). - scale (Optional)
- Type: SystemNullableInt64
The scale to apply while replaying (defaults to 1).
Return Value
Type:
TaskReplaySnapshotResponsereturns System.Threading.Tasks.Task<ReplaySnapshotResponse>
See Also