Click or drag to resize

BitmapBuffer Class

Version 130.1.90
BitmapBuffer contains a byte[] used to store the Bitmap generated from OnPaint(PaintElementType, Rect, IntPtr, Int32, Int32) and associated methods for updating that buffer and creating a Bitmap from the actaual Buffer
Inheritance Hierarchy
SystemObject
  CefSharp.OffScreenBitmapBuffer

Namespace: CefSharp.OffScreen
Assembly: CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
public class BitmapBuffer

The BitmapBuffer type exposes the following members.

Constructors
 NameDescription
Public methodBitmapBuffer Create a new instance of BitmapBuffer
Top
Properties
 NameDescription
Public propertyBitmapLock Locking object used to syncronise access to the underlying buffer
Public propertyBuffer Get the byte[] array that represents the Bitmap
Public propertyDirtyRect Dirty Rect - unified region containing th
Public propertyHeight Height
Public propertyNumberOfBytes Number of bytes
Public propertyWidth Width
Top
Methods
 NameDescription
Public methodCreateBitmap Creates a new Bitmap given with the current Width/Height and Format then copies the buffer that represents the bitmap. Locks BitmapLock before creating the Bitmap
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 methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateBuffer Copy data from the unmanaged buffer (IntPtr) into our managed buffer. Locks BitmapLock before performing any update
Top
See Also