Click or drag to resize

ImgConverter Methods

The ImgConverter type exposes the following members.

Methods
  NameDescription
Public methodGetImageBytesFromHtmlFile
Gets binary format of an image generated from the specified HTML file in the the specified System.Drawing.Imaging.ImageFormat format. The bytes can be further written in any stream like a disk file or a web response.
Public methodGetImageBytesFromHtmlStream(Stream, Encoding, ImageFormat)
Gets binary format of an image generated from the specified HTML stream in the the specified System.Drawing.Imaging.ImageFormat format. The bytes can be further written in any stream like a disk file or a web response.
Public methodGetImageBytesFromHtmlStream(Stream, Encoding, ImageFormat, String)
Gets binary format of an image generated from the specified HTML stream in the the specified System.Drawing.Imaging.ImageFormat 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.
Public methodGetImageBytesFromHtmlString(String, ImageFormat)
Gets binary format of an image generated from the specified HTML string in the the specified System.Drawing.Imaging.ImageFormat format. The bytes can be further written in any stream like a disk file or a web response.
Public methodGetImageBytesFromHtmlString(String, ImageFormat, String)
Gets binary format of an image generated from the specified HTML string in the the specified System.Drawing.Imaging.ImageFormat 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.
Public methodGetImageBytesFromUrl
Gets binary format of an image generated from the specified URL in the the specified System.Drawing.Imaging.ImageFormat format. The bytes can be further written in any stream like a disk file or a web response.
Public methodGetImageFromHtmlFile
Gets an System.Drawing.Image object from the specified HTML file in the the specified System.Drawing.Imaging.ImageFormat format
Public methodGetImageFromHtmlStream(Stream, Encoding, ImageFormat)
Gets an System.Drawing.Image object from the specified HTML stream in the the specified System.Drawing.Imaging.ImageFormat format
Public methodGetImageFromHtmlStream(Stream, Encoding, ImageFormat, String)
Gets an System.Drawing.Image object from the specified HTML stream in the the specified System.Drawing.Imaging.ImageFormat 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.
Public methodGetImageFromHtmlString(String, ImageFormat)
Gets an System.Drawing.Image object from the specified HTML string in the the specified System.Drawing.Imaging.ImageFormat format
Public methodGetImageFromHtmlString(String, ImageFormat, String)
Gets an System.Drawing.Image object from the specified HTML string in the the specified System.Drawing.Imaging.ImageFormat 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.
Public methodGetImageFromUrl
Gets an System.Drawing.Image object from the specified URL in the the specified System.Drawing.Imaging.ImageFormat format
Public methodGetImageFromUrlBytes Obsolete.
Gets binary format of an image generated from the specified URL in the the specified System.Drawing.Imaging.ImageFormat format. The bytes can be further written in any stream like a disk file or a web response.
Public methodSaveImageFromHtmlFileToFile
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
Public methodSaveImageFromHtmlStreamToFile(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
Public methodSaveImageFromHtmlStreamToFile(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
Public methodSaveImageFromHtmlStringToFile(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
Public methodSaveImageFromHtmlStringToFile(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
Public methodSaveImageFromUrlToFile
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
Top
See Also