HtmlRenderRender 方法 |
名称 | 说明 | |
---|---|---|
Render(Graphics, String, PointF, SizeF, CssData, EventHandlerHtmlStylesheetLoadEventArgs, EventHandlerHtmlImageLoadEventArgs) |
Renders the specified HTML source on the specified location and max size restriction. Use GDI text rendering, note TextRenderingHint has no effect. If maxSize.Width is zero the html will use all the required width, otherwise it will perform line wrap as specified in the html If maxSize.Height is zero the html will use all the required height, otherwise it will clip at the given max height not rendering the html below it. Returned is the actual width and height of the rendered html. | |
Render(Graphics, String, Single, Single, Single, CssData, EventHandlerHtmlStylesheetLoadEventArgs, EventHandlerHtmlImageLoadEventArgs) |
Renders the specified HTML source on the specified location and max width restriction. Use GDI text rendering, note TextRenderingHint has no effect. If maxWidth is zero the html will use all the required width, otherwise it will perform line wrap as specified in the html Returned is the actual width and height of the rendered html. |