snapshotWidth property
The width of the captured image, in points. Use this property to scale the generated image to the specified width. The web view maintains the aspect ratio of the captured content, but scales it to match the width you specify.
The default value of this property is null
, which returns an image whose size matches the original size of the captured rectangle.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
- MacOS
Implementation
double? snapshotWidth;