Click or drag to resize

Viewport Class

Version 112.3.0
Viewport for capturing screenshot.
Inheritance Hierarchy

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

The Viewport type exposes the following members.

Constructors
  NameDescription
Public methodViewport
Default Constructor
Top
Properties
  NameDescription
Public propertyHeight
Rectangle height in device independent pixels (dip).
Public propertyScale
Page scale factor.
Public propertyWidth
Rectangle width in device independent pixels (dip).
Public propertyX
X offset in device independent pixels (dip).
Public propertyY
Y offset in device independent pixels (dip).
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