Android.Webkit.WebView.CapturePicture Method
Gets a new picture that captures the current contents of this WebView.

Syntax

[Android.Runtime.Register("capturePicture", "()Landroid/graphics/Picture;", "GetCapturePictureHandler")]
[System.Obsolete("deprecated")]
public virtual Android.Graphics.Picture CapturePicture ()

Returns

Documentation for this section has not yet been entered.

Remarks

Gets a new picture that captures the current contents of this WebView. The picture is of the entire document being displayed, and is not limited to the area currently displayed by this WebView. Also, the picture is a static copy and is unaffected by later changes to the content being displayed.

Note that due to internal changes, for API levels between NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#HONEYCOMB and NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#ICE_CREAM_SANDWICH inclusive, the picture does not include fixed position elements or scrollable divs.

Note that from NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN_MR1 the returned picture should only be drawn into bitmap-backed Canvas - using any other type of Canvas will involve additional conversion at a cost in memory and performance. Also the Android.Graphics.Picture.CreateFromStream(System.IO.Stream) and Android.Graphics.Picture.WriteToStream(System.IO.Stream) methods are not supported on the returned object.

[Android Documentation]

Requirements

Namespace: Android.Webkit
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1