LayerTreeClientProfileSnapshotAsync Method |
Version 94.4.20
ProfileSnapshot
Namespace:
CefSharp.DevTools.LayerTree
Assembly:
CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax public Task<ProfileSnapshotResponse> ProfileSnapshotAsync(
string snapshotId,
int? minRepeatCount = null,
double? minDuration = null,
Rect clipRect = null
)
public:
Task<ProfileSnapshotResponse^>^ ProfileSnapshotAsync(
String^ snapshotId,
Nullable<int> minRepeatCount = nullptr,
Nullable<double> minDuration = nullptr,
Rect^ clipRect = nullptr
)
Parameters
- snapshotId
- Type: SystemString
The id of the layer snapshot. - minRepeatCount (Optional)
- Type: SystemNullableInt32
The maximum number of times to replay the snapshot (1, if not specified). - minDuration (Optional)
- Type: SystemNullableDouble
The minimum duration (in seconds) to replay the snapshot. - clipRect (Optional)
- Type: CefSharp.DevTools.DOMRect
The clip rectangle to apply when replaying the snapshot.
Return Value
Type:
TaskProfileSnapshotResponsereturns System.Threading.Tasks.Task<ProfileSnapshotResponse>
See Also