Class GetLayoutMetricsCommandResponse
Response for Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
public sealed class GetLayoutMetricsCommandResponse : ICommandResponse<GetLayoutMetricsCommandSettings>, ICommandResponse
- Inheritance
-
GetLayoutMetricsCommandResponse
- Implements
- Inherited Members
- Extension Methods
Properties
ContentSize
Deprecated size of scrollable area. Is in DP. Use cssContentSize instead.
[JsonPropertyName("contentSize")]
public Rect ContentSize { get; set; }
Property Value
CssContentSize
Size of scrollable area in CSS pixels.
[JsonPropertyName("cssContentSize")]
public Rect CssContentSize { get; set; }
Property Value
CssLayoutViewport
Metrics relating to the layout viewport in CSS pixels.
[JsonPropertyName("cssLayoutViewport")]
public LayoutViewport CssLayoutViewport { get; set; }
Property Value
CssVisualViewport
Metrics relating to the visual viewport in CSS pixels.
[JsonPropertyName("cssVisualViewport")]
public VisualViewport CssVisualViewport { get; set; }
Property Value
LayoutViewport
Deprecated metrics relating to the layout viewport. Is in device pixels. Use cssLayoutViewport instead.
[JsonPropertyName("layoutViewport")]
public LayoutViewport LayoutViewport { get; set; }
Property Value
VisualViewport
Deprecated metrics relating to the visual viewport. Is in device pixels. Use cssVisualViewport instead.
[JsonPropertyName("visualViewport")]
public VisualViewport VisualViewport { get; set; }