Class RecordOptions
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Options for RecordAsync(RecordOptions).
public class RecordOptions
- Inheritance
-
RecordOptions
Properties
Audio
Whether to record audio.
Defaults to false.
public bool? Audio { get; set; }
Property Value
- bool?
Fps
Frame rate in frames per second (alias for FrameRate).
public int? Fps { get; set; }
Property Value
- int?
FrameRate
Maximum frame rate in frames per second.
public int? FrameRate { get; set; }
Property Value
- int?
MaxHeight
Maximum frame height in pixels.
public int? MaxHeight { get; set; }
Property Value
- int?
MaxWidth
Maximum frame width in pixels.
public int? MaxWidth { get; set; }
Property Value
- int?
Overwrite
Specifies whether to overwrite the output file if it already exists.
Defaults to true. When false, an existing file causes an IOException.
public bool? Overwrite { get; set; }
Property Value
- bool?
Path
File path to save the recording to.
public string Path { get; set; }