Click or drag to resize

VisualViewport Class

Version 130.1.90
Visual viewport position, dimensions, and scale.
Inheritance Hierarchy
SystemObject
  CefSharp.DevToolsDevToolsDomainEntityBase
    CefSharp.DevTools.PageVisualViewport

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

The VisualViewport type exposes the following members.

Constructors
 NameDescription
Public methodVisualViewportInitializes 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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToDictionary
(Inherited from DevToolsDomainEntityBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also