Click or drag to resize

Viewport Class

Version 130.1.90
Viewport for capturing screenshot.
Inheritance Hierarchy
SystemObject
  CefSharp.DevToolsDevToolsDomainEntityBase
    CefSharp.DevTools.PageViewport

Namespace: CefSharp.DevTools.Page
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.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 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