点击或拖拽改变大小

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.
Top
参见