HtmlRenderRenderGdiPlus 方法 |
名称 | 说明 | |
---|---|---|
RenderGdiPlus(Graphics, String, PointF, SizeF, CssData, EventHandlerHtmlStylesheetLoadEventArgs, EventHandlerHtmlImageLoadEventArgs) |
Renders the specified HTML source on the specified location and max size restriction. Use GDI+ text rending, use TextRenderingHint to control text rendering. 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. | |
RenderGdiPlus(Graphics, String, Single, Single, Single, CssData, EventHandlerHtmlStylesheetLoadEventArgs, EventHandlerHtmlImageLoadEventArgs) |
Renders the specified HTML source on the specified location and max size restriction. Use GDI+ text rending, use TextRenderingHint to control text rendering. 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. |