Skip to content

RecordOptions

Namespace: PuppeteerSharp

public class RecordOptions

Options for RecordAsync(RecordOptions).

Inheritance: object

View source

public bool? Audio { get; set; }

Whether to record audio. Defaults to false.

Value: bool?

View source

public int? Fps { get; set; }

Frame rate in frames per second (alias for FrameRate).

Value: int?

View source

public int? FrameRate { get; set; }

Maximum frame rate in frames per second.

Value: int?

View source

public int? MaxHeight { get; set; }

Maximum frame height in pixels.

Value: int?

View source

public int? MaxWidth { get; set; }

Maximum frame width in pixels.

Value: int?

View source

public bool? Overwrite { get; set; }

Specifies whether to overwrite the output file if it already exists. Defaults to true. When false, an existing file causes an IOException.

Value: bool?

View source

public string Path { get; set; }

File path to save the recording to.

Value: string

View source

Made with love by Dario Kondratiuk