[]
Saves the page as an image to a stream in PNG format.
public void SaveAsPng(Stream stream, ImageOutputSettings options = null)
Public Sub SaveAsPng(stream As Stream, Optional options As ImageOutputSettings = Nothing)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The output stream. |
| ImageOutputSettings | options | Options that allow customizing the output image. |
Saves the page as an image to a file in PNG format.
public void SaveAsPng(string filePath, ImageOutputSettings options = null)
Public Sub SaveAsPng(filePath As String, Optional options As ImageOutputSettings = Nothing)
| Type | Name | Description |
|---|---|---|
| string | filePath | The output file path. |
| ImageOutputSettings | options | Options that allow customizing the output image. |