[]
Create or update this HtmlElement with the provided info.
public void Layout(string text, Font font, Brush brush, float width)
| Type | Name | Description |
|---|---|---|
| string | text | The text for create or update in the HTML element. |
| Font | font | The font of the text. |
| Brush | brush | The text brush. |
| float | width | The width in points. |
Create or update this HtmlElement with the provided info.
public void Layout(IntPtr hdc, string text, Font font, Brush brush, float width, bool rtl = false)
| Type | Name | Description |
|---|---|---|
| IntPtr | hdc | The graphics device context handler. |
| string | text | The text for create or update in the HTML element. |
| Font | font | The font of the text. |
| Brush | brush | The text brush. |
| float | width | The width in points. |
| bool | rtl | The right-to-left layout. |