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 methodGetImageBytesFromHtmlStreamWithTempFile(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 htmlStream is first saved in a temporary file. The bytes can be further written in any stream like a disk file or a web response.
Public methodGetImageBytesFromHtmlStreamWithTempFile(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 htmlStream is first saved in a temporary file. 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. 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 methodGetImageBytesFromHtmlStringWithTempFile(String, ImageFormat)
Gets binary format of an image generated from the specified HTML string in the the specified System.Drawing.Imaging.ImageFormat format. The htmlString is first saved into a temporary file before performing the conversion The bytes can be further written in any stream like a disk file or a web response.
Public methodGetImageBytesFromHtmlStringWithTempFile(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 htmlString is first saved into a temporary file before performing the conversion. 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 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 methodGetImageFromHtmlStreamWithTempFile(Stream, Encoding, ImageFormat)
Gets an System.Drawing.Image object from the specified HTML stream in the the specified System.Drawing.Imaging.ImageFormat format by writing first the stream in a temporary file
Public methodGetImageFromHtmlStreamWithTempFile(Stream, Encoding, ImageFormat, String)
Gets an System.Drawing.Image object from the specified HTML stream in the the specified System.Drawing.Imaging.ImageFormat format by writing first the stream in a temporary file. 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 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 methodGetImageFromHtmlStringWithTempFile(String, ImageFormat)
Gets an System.Drawing.Image object from the specified HTML string in the the specified System.Drawing.Imaging.ImageFormat format by writing first the HTML string in a temporary file
Public methodGetImageFromHtmlStringWithTempFile(String, ImageFormat, String)
Gets an System.Drawing.Image object from the specified HTML string in the the specified System.Drawing.Imaging.ImageFormat format by writing first the HTML string in a temporary file. 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 methodSaveImageFromHtmlStreamToFileWithTempFile(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 by writing first the HTML stream into a temporary file. The existing file will be overwritten.
Public methodSaveImageFromHtmlStreamToFileWithTempFile(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 by writing first the HTML stream into a temporary 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 methodSaveImageFromHtmlStringToFileWithTempFile(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 by writing first the HTML string into a temporary file. The existing file will be overwritten.
Public methodSaveImageFromHtmlStringToFileWithTempFile(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 by writing first the HTML string into a temporary 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