LayerTreeClientProfileSnapshotAsync Method |
Version 107.1.120
ProfileSnapshot
Namespace:
CefSharp.DevTools.LayerTree
Assembly:
CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.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