Click or drag to resize

IImageElementContents Property

Gets the image displayed by the element.

Namespace:  DotNetBrowser.Dom
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.5
Syntax
C#
Bitmap Contents { get; }

Property Value

Type: Bitmap
The Bitmap with the raw pixels of the image displayed by the element.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IImageElement has already been disposed.
Remarks
The size of the bitmap depends on the size of the original image. It is not affected by the size specified for the element.
See Also