Class ImageSize
- Namespace
- WebDriverBiDi.BrowsingContext
- Assembly
- WebDriverBiDi.dll
Represents the image size of a captured screenshot.
public class ImageSize
- Inheritance
-
ImageSize
- Inherited Members
Constructors
ImageSize()
Initializes a new instance of the ImageSize class.
public ImageSize()
Properties
MaxHeight
Gets or sets the maximum height of the screenshot image.
[JsonPropertyName("maxHeight")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[SpecRange(1, Infinity)]
public ulong? MaxHeight { get; set; }
Property Value
Remarks
The protocol requires this value to be greater than or equal to 1; a value of 0 is rejected by the remote end.
MaxWidth
Gets or sets the maximum width of the screenshot image.
[JsonPropertyName("maxWidth")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[SpecRange(1, Infinity)]
public ulong? MaxWidth { get; set; }
Property Value
Remarks
The protocol requires this value to be greater than or equal to 1; a value of 0 is rejected by the remote end.