Img |
The ImgConverter type exposes the following members.
| Name | Description | |
|---|---|---|
| GetImageBytesFromHtmlFile | Gets binary format of an image generated from the specified HTML file in the specified format. The bytes can be further written in any stream like a disk file or a web response. | |
| GetImageBytesFromHtmlStream(Stream, Encoding, ImageFormat) | Gets binary format of an image generated from the specified HTML stream in the specified format. The bytes can be further written in any stream like a disk file or a web response. | |
| GetImageBytesFromHtmlStream(Stream, Encoding, ImageFormat, String) | Gets binary format of an image generated from the specified HTML stream in the specified format. The urlBase parameter allows the converter to determine the full URLs from relative URLs for images and CSS files appearing in the HTML code from htmlString parameter. The bytes can be further written in any stream like a disk file or a web response. | |
| GetImageBytesFromHtmlString(String, ImageFormat) | Gets binary format of an image generated from the specified HTML string in the specified format. The bytes can be further written in any stream like a disk file or a web response. | |
| GetImageBytesFromHtmlString(String, ImageFormat, String) | Gets binary format of an image generated from the specified HTML string in the specified format. The bytes can be further written in any stream like a disk file or a web response. The urlBase parameter allows the converter to determine the full URLs from relative URLs for images and CSS files appearing in the HTML code from htmlString parameter. | |
| GetImageBytesFromHtmlStringAsync(String, ImageFormat, CancellationToken) | Converts the specified HTML string into an image asynchronously and returns the image as an array of bytes in the specified format. | |
| GetImageBytesFromHtmlStringAsync(String, ImageFormat, String, CancellationToken) | Converts the specified HTML string into an image asynchronously and returns the image as an array of bytes in the specified format. | |
| GetImageBytesFromUrl | Gets binary format of an image generated from the specified URL in the specified format. The bytes can be further written in any stream like a disk file or a web response. | |
| GetImageBytesFromUrlAsync | Converts the specified URL into an image asynchronously and returns the image as an array of bytes in the specified format. | |
| GetImageFromHtmlFile | Converts the specified HTML file into an image and returns the image as an array of bytes in the specified format | |
| GetImageFromHtmlStream(Stream, Encoding, ImageFormat) | Converts the specified HTML stream into an image and returns the image as an array of bytes in the specified format | |
| GetImageFromHtmlStream(Stream, Encoding, ImageFormat, String) | Converts the specified HTML stream into an image and returns the image as an array of bytes in the specified format. The urlBase parameter allows the converter to determine the full URLs from relative URLs for images and CSS files appearing in the HTML code from htmlStream parameter. | |
| GetImageFromHtmlString(String, ImageFormat) | Converts the specified HTML string into an image and returns the image as an array of bytes in the specified format | |
| GetImageFromHtmlString(String, ImageFormat, String) | Converts the specified HTML string into an image and returns the image as an array of bytes in the specified format. The urlBase parameter allows the converter to determine the full URLs from relative URLs for images and CSS files appearing in the HTML code from htmlString parameter. | |
| GetImageFromUrl | Converts the specified URL into an image and returns the image as an array of bytes in the specified format | |
| GetImageFromUrlBytes |
Gets binary format of an image generated from the specified URL in the
specified format. The bytes can be further written in
any stream like a disk file or a web response.
Obsolete | |
| SaveImageFromHtmlFileToFile | This method produces a image from the specified HTML file in the specified format and saves the image in the specified disk file. The existing file will be overwritten | |
| SaveImageFromHtmlStreamToFile(Stream, Encoding, ImageFormat, String) | This method produces a image from the specified HTML stream in the specified format and saves the image in the specified disk file. The existing file will be overwritten | |
| SaveImageFromHtmlStreamToFile(Stream, Encoding, ImageFormat, String, String) | This method produces a image from the specified HTML stream in the specified format and saves the image in the specified disk file. The existing file will be overwritten | |
| SaveImageFromHtmlStringToFile(String, ImageFormat, String) | This method produces a image from the specified HTML string in the specified format and saves the image in the specified disk file. The existing file will be overwritten | |
| SaveImageFromHtmlStringToFile(String, ImageFormat, String, String) | This method produces a image from the specified HTML string in the specified format and saves the image in the specified disk file. The existing file will be overwritten | |
| SaveImageFromUrlToFile | This method produces a image from the specified URL in the specified format and saves the image in the specified disk file. The existing file will be overwritten | |
| SaveImageFromUrlToFileAsync | Converts the specified URL into an image asynchronously and saves it to the specified file in the specified format. |