Click or drag to resize

VisualViewport Class

Version 86.0.240
Visual viewport position, dimensions, and scale.
Inheritance Hierarchy

Namespace:  CefSharp.DevTools.Page
Assembly:  CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax
public class VisualViewport : DevToolsDomainEntityBase

The VisualViewport type exposes the following members.

Constructors
  NameDescription
Public methodVisualViewport
Initializes a new instance of the VisualViewport class
Top
Properties
  NameDescription
Public propertyClientHeight
Height (CSS pixels), excludes scrollbar if present.
Public propertyClientWidth
Width (CSS pixels), excludes scrollbar if present.
Public propertyOffsetX
Horizontal offset relative to the layout viewport (CSS pixels).
Public propertyOffsetY
Vertical offset relative to the layout viewport (CSS pixels).
Public propertyPageX
Horizontal offset relative to the document (CSS pixels).
Public propertyPageY
Vertical offset relative to the document (CSS pixels).
Public propertyScale
Scale relative to the ideal viewport (size at width=device-width).
Public propertyZoom
Page zoom factor (CSS to device independent pixels ratio).
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToDictionary (Inherited from DevToolsDomainEntityBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also