Converts a HTML string to a set of Image objects using a base URL to resolve external resources and an internal links base URL.
The image is tiled to avoid working with very large images in memory
Namespace: Winnovative
Assembly: wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax
public Image[] ConvertHtmlToImageTiles( string htmlString, string baseUrl, string internalLinksBaseUrl )
Parameters
- htmlString
- Type: SystemString
The HTML string to convert to image - baseUrl
- Type: SystemString
The base URL used to determine the full URL of the external resources like images, CSS, JavaScript and Web Font files referenced by relative URLs in HTML - internalLinksBaseUrl
- Type: SystemString
The full URL of the HTML document referenced by the internal links from the HTML string
Return Value
Type: ImageThe created Image objects
See Also