[]
Create or update this HtmlElement with the provided info.
public void Layout(string text, Font font, Brush brush, float width)
Public Sub Layout(text As String, font As Font, brush As Brush, width As Single)
| 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)
Public Sub Layout(hdc As IntPtr, text As String, font As Font, brush As Brush, width As Single, Optional rtl As Boolean = 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. |