LayerTreeClientReplaySnapshotAsync Method |
Version 130.1.90
Replays the layer snapshot and returns the resulting bitmap.
Namespace: CefSharp.DevTools.LayerTreeAssembly: 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
)
public:
Task<ReplaySnapshotResponse^>^ ReplaySnapshotAsync(
String^ snapshotId,
Nullable<int> fromStep = nullptr,
Nullable<int> toStep = nullptr,
Nullable<double> scale = nullptr
)
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
TaskReplaySnapshotResponsereturns System.Threading.Tasks.Task<ReplaySnapshotResponse>
See Also