Method RenderPageToOctets
RenderPageToOctets(IClient, Int32, Int32)
Renders a page with the desired resolution.
Declaration
public static Task<byte[]> RenderPageToOctets(this IClient client, int page, int dpi)
Parameters
Type | Name | Description |
---|---|---|
IClient | client | The client. |
System.Int32 | page | The page. |
System.Int32 | dpi | The resolution in dots per inch. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Byte[]> | Results in a PNG encoded image or in case of error.
|